GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
feature suggestion: cityname for hierarchy webservice  XML
Forum Index -> General
Author Message
giorgio79



Joined: 21/04/2008 17:05:33
Messages: 28
Offline

Hi Marc,

It would be nice to have the cityname in hierarchy queries, not just ADM1, ADM2 and nearby placename.

Also tried adding this feature code to hierarchy but no luck
&featureClass=P&featureCode=PPLA&featureCode=PPL&featureCode=PPLC
marc



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

Giorgio

You are absolutely right, for a lot of feature codes like neighbourhoods or points of interests it would be nice to return the city as well. At the moment we are lacking the data to provide this kind of service.

Cheers

Marc

[WWW]
giorgio79



Joined: 21/04/2008 17:05:33
Messages: 28
Offline

Marc, I find there is plenty of city data. I am using the hierarchy query to get the full hierarchy, and then I run a findnearby with featureclass for cities, and it works fine.

Also, I just found out about extendedfindnearby

It seems similar to a hierarchy query for the city.


Wonder if extendedfindnearby and hierarchy could be combined so it returns a hierarchy of
globe : continent : country : ADM1 : ADM2 : ADM3 : city : nearby_location

If one of the levels is missing, it could simply not return that level.

This would give a hierarchy as complete as possible and it could combine the hierarchy + findnearby + extendedfindnearby queries
marc



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

Giorgio,

In fact the extendedFindNearby service already is a combination of several services, among them the findNearby and the hierarchy service. For PPLX the corresponding city has now been included in the hierarchy service.

Best

Marc

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