Dear all,I have GPS coordinates (one vector for longitude and one for latitude: 
GPSLong and GPSLat) of small are that is around 300meters X 300 meters 
(location falls inside UK).At the same time I have two more vectors (Longitude 
and Latitude) that include position of food stores again the UK
I would like to find within my 300x300 square area which as the food stores 
that fall inside.I thought to try to find which of the Longitude of the food 
stores fall inside my area. I tried something the below

Longitude[Longitude>(min(GPSLong)-0.001)&&Longitude<(max(GPSLong)+0.001)]
but this returned me zero results.The next option would be the code to return 
me at least the place that falls outside but still is close to that region.'Do 
you have any idea how to do that and not fall back in the time consuming look 
at each element iteration?
I would like to thank you for your replyRegardsAlex



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to