GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Problems using extendedFindNearby?  XML
Forum Index -> General
Author Message
verduomo



Joined: 13/12/2008 11:19:39
Messages: 2
Offline

Hi

I have tried using the above as it returns most of the info required. However, the xml page's format differs across locations e.g.

lat and longitude for the UK returns a page where all relevant data are enclosed in <name>

lat and longitude for the US returns a page where all relevant data are enclosed in appropriately named elements e.g. <placeName>,<adminName1> etc.

IS there a way to obtain a page using the same notation for any set of lon and lat? Any help would be appreciated please.
marc



Joined: 08/12/2005 07:39:47
Messages: 4501
Offline

The extendedFindNearby is a wrapper around the other reverse geocoding services and tries to return the most specific result. The level of detail and the available services varies between countries the result therefore varies too. You could get the UK like result with the findNearby service to get the geonameId and the hierarchy service to get the toponym hierarchy for this place.

Best

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team