How to get nearby POIs
Posted
by balexandre
on Stack Overflow
See other posts from Stack Overflow
or by balexandre
Published on 2010-04-18T14:43:37Z
Indexed on
2010/04/18
15:03 UTC
Read the original article
Hit count: 345
I have a database with Points of Interest that all have an address.
I want to know what is the method/name/call to get all nearby POIs from a given position.
I understand that I need to convert all my addresses to LAT / LON coordinates at least, but my question is:
for a given LAT / LONG how do I get from the database/array what POIs are nearby by distance, for example:
You are here 0,0 nearest POIs in a 2km radius are:
- POI A (at 1.1 Km)
- POI C (at 1.3 Km)
- POI F (at 1.9 Km)
I have no idea what should I look into to get what I want :-(
Any help is greatly appreciated. Thank you
© Stack Overflow or respective owner