<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Confused about UN Locodes and GeonameID"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "Confused about UN Locodes and GeonameID"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Confused about UN Locodes and GeonameID</title>
				<description><![CDATA[ Hi,

I am trying to build a system so people can search for a location, eg Heathrow Airport, in any language, and then get the UNlocode for that location.

According to the UN website Heathrow Airport has the UN locode GB LHR, however when searching on locode LHR I get 3 other places not in the UK. When I do a free text search, it returns some place in the US!

I have also been searching the Alternate Names DB. If I search that for Heathrow Airport, I get a country ID  2647216 and a geoname ID of 2422758.

Neither of these numbers seem to have any reference to the geonameID field in the UNlocode dataset.

Am I missing something ?

]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4189.page#12375</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4189.page#12375</link>
				<pubDate><![CDATA[Fri, 3 May 2013 06:31:39]]> GMT</pubDate>
				<author><![CDATA[ jonaserikssonfareoff]]></author>
			</item>
			<item>
				<title>Re:Confused about UN Locodes and GeonameID</title>
				<description><![CDATA[ The following places are assigned with the UNLOCODE LHR:

<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
        DE      LHR     Lahr    Lahr    RP      --3--6--        RL      901             5007N 00722E
        FR      LHR     Les Hautes-Rivières    Les Hautes-Rivieres     8       --3-----        RL      212             4953N 00450E
        GB      LHR     Heathrow Apt/London     Heathrow Apt/London     GTL     ---4----        AF      9511
        US      LHR     Liberty Liberty MI      --3-----        RL      0701            4206N 08424W
</pre>
		</div>

The unlocode is not globally unique. You need to add the country to make it unique.
The mapping with UNLocodes is part of the premium data extract: 
http://www.geonames.org/products/premium-data.html

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4189.page#12376</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4189.page#12376</link>
				<pubDate><![CDATA[Fri, 3 May 2013 06:36:32]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:Confused about UN Locodes and GeonameID</title>
				<description><![CDATA[ Hi,

We are premium data subscribers.

Which file do you get that info from ? I have looked in unlocode-geonameid.txt

I am doing this:
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>grep LHR /Users/williammacdonald/Downloads/unlocode-geonameid-3.txt
DE	LHR	Lahr	2881882
FR	LHR	Les Hautes-Rivières	3000674
US	LHR	Liberty	4999177</pre>
		</div>]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4189.page#12377</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4189.page#12377</link>
				<pubDate><![CDATA[Sat, 4 May 2013 06:23:57]]> GMT</pubDate>
				<author><![CDATA[ jonaserikssonfareoff]]></author>
			</item>
			<item>
				<title>Re:Confused about UN Locodes and GeonameID</title>
				<description><![CDATA[ I'm confused by the 

"mapping with UNLocodes is part of the premium data extract"

Is there no API to find the LOCODES even with the "Premium" service?

Please advise.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/4189.page#38212</guid>
				<link>http://forum.geonames.org/gforum/posts/list/4189.page#38212</link>
				<pubDate><![CDATA[Mon, 17 Oct 2016 15:32:45]]> GMT</pubDate>
				<author><![CDATA[ stampere]]></author>
			</item>
	</channel>
</rss>