luisrecuenco
Joined: 27/09/2009 21:56:56
Messages: 1
Offline
|
Hello all,
This is my first post and hope I get my doubt solved.
I need to get nearby places from a specific location (described by lat/long 4 instance). I have managed to do it by a simple http request to google:
http://maps.google.com/maps?q=pizza&near=37.3,-122&num=20&output=kml
Output can be either KML or JSON with the info of the places I need. Then I´ll have to parse it in order to extract the info I want.
I need to do the same but in this case by using Geoname API. I know there are some functions for nearby places but it returns the most populated place or the postal codes of the cities next to you. I don´t need that...so I have thought of using the function search:
http://www.geonames.org/export/geonames-search.html
I have no idea how to get nearby places (banks, museums, pubs, petrol stations...) from a concrete place with that function.
Any idea??? I need some help!
Thanks in advance.
|