<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Messages posted by "bundini"]]></title>
		<link>http://forum.geonames.org/gforum/posts/listByUser/1837.page</link>
		<description><![CDATA[Messages posted by "bundini"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Re:ISO-3166-2 Administrative Division Code</title>
				<description><![CDATA[ So here's the results of what I've done.

If you know some better data sources let me know. I've included a rapidly strewn together script that I used to generate this data. The CDH data referenced can be found online (not sure what the legality of me including it in the file would be).

The attached file contains "results.txt" which has the cross references between country, and administrative region 1 fips code, and administrative region 1 iso code. It's tab delimited so it should be easy to blow apart with your favorite scripting language to generate the sql required. I'd probably just create a nested associative array(PHP)/dictionary(Python) and use them to look up the iso code from the 2 letter country codes / fips codes we already have.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/1178/6596.page#6596</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/1178/6596.page#6596</link>
				<pubDate><![CDATA[Tue, 3 Nov 2009 08:08:02]]> GMT</pubDate>
				<author><![CDATA[ bundini]]></author>
			</item>
			<item>
				<title>Re:ISO-3166-2 Administrative Division Code</title>
				<description><![CDATA[ It should be possible to make it 90% there by cross referencing the information in:

http://www.commondatahub.com/live/geography/state_province_region/fips_states_codes

They have a primary key there.
They also maintain an iso code table (with the same pk).

Files are downloadable separately. I'm going to import a dump of their data and hack the two together into one table that has both fips and iso codes and report back.

]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/preList/1178/6587.page#6587</guid>
				<link>http://forum.geonames.org/gforum/posts/preList/1178/6587.page#6587</link>
				<pubDate><![CDATA[Tue, 3 Nov 2009 05:12:02]]> GMT</pubDate>
				<author><![CDATA[ bundini]]></author>
			</item>
	</channel>
</rss>