<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Adventures With .Net &#187; XML</title>
	<atom:link href="http://adventureswith.net/tag/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://adventureswith.net</link>
	<description>C# and the like</description>
	<lastBuildDate>Tue, 15 Nov 2011 15:34:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>World Countries &#8211; Simple Outlines in XML format</title>
		<link>http://adventureswith.net/world-countries-simple-outlines-in-xml-format/</link>
		<comments>http://adventureswith.net/world-countries-simple-outlines-in-xml-format/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 23:04:29 +0000</pubDate>
		<dc:creator>Dann</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[deepearth]]></category>
		<category><![CDATA[Mapwindow]]></category>
		<category><![CDATA[shape2earth]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://AdventuresWith.Net/?p=70</guid>
		<description><![CDATA[I needed the outlines of most countries for a simple GIS project that I’m doing. I managed to find a world simple shapes file from http://mappinghacks.com/ called TM_WORLD_BORDERS_SIMPL-0.2.zip This was in a shapes format used by ARC GIS and the &#8230; <a href="http://adventureswith.net/world-countries-simple-outlines-in-xml-format/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="rw-left"><div class="rw-ui-container rw-class-blog-post rw-urid-710"></div></div><p>I needed the outlines of most countries for a simple GIS project that I’m doing. I managed to find a world simple shapes file from <a title="http://mappinghacks.com/" href="http://mappinghacks.com/">http://mappinghacks.com/</a> called <a href="http://mappinghacks.com/data/TM_WORLD_BORDERS_SIMPL-0.2.zip">TM_WORLD_BORDERS_SIMPL-0.2.zip</a></p>
<p>This was in a shapes format used by ARC GIS and the likes, but I needed it in an easy to consume manner i.e. XML</p>
<p>So taking it, feeding it through <a href="http://www.mapwindow.org/">MapWindow GIS</a> and a&#160; shareware&#160; plugin “<a href="http://shape2earth.com">Shape2Earth</a>”&#160; (a shapefile to KML converter) I received a KML file out the other side. </p>
<p>As it was a bit bloated, I built a console app using some hideous code turned it into a nice usable XML doc.</p>
<p><a href="http://adventureswith.net/wp-content/uploads/2010/02/image2.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://adventureswith.net/wp-content/uploads/2010/02/image_thumb2.png" width="405" height="357" /></a> </p>
<p>Here’s an example of the result showing the UK, France, etc, produced in <a href="http://deepearth.codeplex.com">DeepEarth</a>:</p>
<p><a href="http://adventureswith.net/wp-content/uploads/2010/02/image3.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://adventureswith.net/wp-content/uploads/2010/02/image_thumb3.png" width="403" height="395" /></a> </p>
<p>Deciphering should be pretty easy. Here is the rundown:</p>
<p>A country has a name and ISO3 tag and one to many polygons. </p>
<p>Each polygon has one outer bound (outer island)&#160; and zero to many inner bounds (inner islands) for where the country isn’t (as in Swaziland inside South Africa). </p>
<p>Easy stuff.&#160; Here’s the zipped download:</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:a259d5a5-f0af-4c25-8615-ba70e62818d7" class="wlWriterEditableSmartContent">
<div><a href="http://adventureswith.net/wp-content/uploads/2010/02/WorldCountryShapes1.1.zip" target="_self">WorldCountryShapes-1.1.zip</a></div>
</div>
<p>Let me know where you use it! </p>
<p>There is no licence except where <a href="http://mappinghacks.com">mappinghacks.com</a> applies one, but I couldn’t see one there. Tell me if I’m wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://adventureswith.net/world-countries-simple-outlines-in-xml-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

