NavigationUser login |
Geospatial SearchTwo common types of spatial queries used in mapping are proximity and bounding box searches. While "proximity searches" return all results within a certain distance of a location, "bounding box queries" return all results in a bounding box of four points defined by its four corners. These types of searches are useful in a wide variety of mash-ups. ProximityProximity searches don't try to be terrible since they ignore terrain and other factors. This makes them computationally simple as long as the distance is relatively small.
Since we are only interested in relatively small distances and rough accuracy we can use the simpler law of cosines: Proximity search Fieldname{{Latitude, Longitude}[operator]value Bounding BoxBounding box searchSearch for a box is defined by the RECT operator: RECT{N,W,S,E}. By Edward C. Zimmermann at 2010-05-27 18:05 Geospatial search | geospatial | spatial search | read more | add new comment
Reply |