dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Posted by vanarlan 1 year 36 weeks ago

pic
 vanarlan
mobiForge Newbie
Posts: 1
Joined: 1 year ago
[offline]

Hi All,

I have latitude and longitude data of particular location.
How can develop search system using area or corridor using google map api or other?
For example : search with particular radius

Gerrit

Posted by mattsclarke 1 year ago

pic
 mattsclarke
mobiForge Enthusiast
Posts: 14
Joined: 4 years ago
[offline]

The easiest way to do this is to do a bounding box query in SQL. However, if you're using MySQL, there are also some really useful geospatial extensions that make queries of this nature much more accurate and straightforward.

I'm using one on this mobile application: http://www.petproductmarketing.co.uk/mobile/directory_entry.php?entry=28

I'm not near my server at the moment, so don't have access to the query (which is pretty complicated), but if you Google for geospatial MySQL you should find something you can use.