GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Bangkok vs The City of Angels  XML
Forum Index -> Discussion of GeoNames Toponyms
Author Message
jaakl



Joined: 02/01/2014 11:17:28
Messages: 2
Offline

I use Java API and get strange "The City of Angels" as capital of Thailand: http://cl.ly/image/33060I0u3m3z

The web browser shows better name "Bangkok": http://www.geonames.org/1609350/bangkok.html . Why Java Toponym.getName() in the Java API ends up with different, and not so good alternative name?
[Thumb - angels-device-2014-01-02-121542.png]
 Description [Disk] Download
 Filesize 722 Kbytes
 Downloaded:  2143 time(s)

marc



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

I have marked '"The City of Angels" as 'colloquial. The browser was returning the main toponym name, whereas the api returns the English name. Both names had the language code 'en' but there was no flag to mark one as more important then the other.

Regards

Marc

[WWW]
 
Forum Index -> Discussion of GeoNames Toponyms
Go to:   
Powered by JForum 2.1.5 © JForum Team