GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Alternates appear as main in the search  XML
Forum Index -> General
Author Message
Anonymous



The first result for http://www.geonames.org/search.html?q=Hawaii&country= is:

Republic of Hawaii
Hawai,Kingdom of Hawaii,Republic of Hawaii United States, Hawaii first-order administrative division
population 1.284.220 N 20° 45' 1'' W 156° 30' 1''

However "Republic of Hawaii" is just the last alternate name. When clicking on it, its name is still Hawaii.

The search page is returning alternate names as primary.

--
Jobrafo
marc



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

The search is using english as default. You can add a language parameter:
http://www.geonames.org/search.html?q=Hawaii&lang=es

to see the entries in other languages.

The 'main' name of an entry is often but not always in English. The search therefore displays an alternate name in English if there is one. In this case there was one alternate name in English "Republic of Hawaii".

I have added another alternate name in English "Hawaii". (And flagged it as 'official' name.)


Marc

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