GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
adm1 Australia
Forum Index
->
General
Author
Message
18/02/2011 18:53:04
Subject:
adm1 Australia
rshelby
Joined: 17/02/2010 20:06:53
Messages: 7
Offline
Hi!
When I use webservices to get admin divisions of Australia, I get things like "New South Wales"
But when I do a local query for the adm1 of australia, I get "State Of New South Wales" ...
My local dump of geonames has "State Of New South Wales" as the name and "New South Wales" is in the alternative names...
I was wondering why that was, and if there was any logic you could provide on selecting the proper name?
Thanks!!!
19/02/2011 06:30:59
Subject:
Re:adm1 Australia
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
The table alternatenames has language codes and flags 'isPreferred' and 'isShort'. In your case you are probably looking for an English variant, if several variants for the same language are available you probably want the one marked as 'isShort'.
Marc
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