GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
UN/locodes  XML
Forum Index -> General
Author Message
Anonymous



Is there interest in having UN/locodes associated to places with geocoordinates?
I did some data joining. The result you may see at this hmap.
Hauke
marc



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

Hi Hauke

We are certainly interested in the UN/locodes. This would be a great contribution.

Marc

[WWW]
pokemoen



Joined: 25/06/2012 15:32:06
Messages: 2
Offline

Sorry for resurrecting an old thread like this, but is there currently a way to query GeoNames for unlocodes?

Cheers,
Alex
marc



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

Hi Alex

The UN/Locodes have in the meanwhile been included in the premium data subscription. However, they are not yet included in the services.
How would you like to query with them?

Best Regards

Marc

[WWW]
pokemoen



Joined: 25/06/2012 15:32:06
Messages: 2
Offline

Hi Marc,

Ideally directly from a jQuery auto-complete widget.
See: http://jqueryui.com/demos/autocomplete/#remote-jsonp

Cheers,
Alex
marc



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

there is a parameter 'searchlang' to restrict the query term to the specified language.

Example:
api.geonames.org/search?name=lug&maxRows=100&username=marc&searchlang=unlc

Marc

[WWW]
Karaca


[Avatar]
Joined: 09/12/2012 21:53:03
Messages: 9
Location: Frankfurt / Germany
Offline

Hallo Marc,
thanks for the example. Helps a lot.
Where is the XSD of the XML that comes as answer?
Karaca
[WWW]
marc



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

there is no xsd

Marc

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