GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
How do I get a list of cities, region, country for a given city through the webservice
Forum Index
->
General
Author
Message
08/05/2009 00:01:09
Subject:
How do I get a list of cities, region, country for a given city through the webservice
smith88
Joined: 07/05/2009 23:54:10
Messages: 2
Offline
How do I get city, region, country for a given city through the webservice - akin to the search on the home page. For example, burlington
Burlington USA, Vermont
..
Burlington Australia, Victoria
..
Burlington Canada, Ontario
I've tried everything and I end up with the city and country, but not the region. I would like to emulate the following output:
http://www.geonames.org/search.htmlq=burlington&country=
Any help would be greatly appreciated.
08/05/2009 06:23:09
Subject:
Re:How do I get a list of cities, region, country for a given city through the webservice
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
It is in the xml element 'adminName1':
http://ws.geonames.org/search?q=burlington&maxRows=10&style=full
09/05/2009 23:54:56
Subject:
Re:How do I get a list of cities, region, country for a given city through the webservice
smith88
Joined: 07/05/2009 23:54:10
Messages: 2
Offline
Thanks, that works perfectly.
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About