<?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>Spatial Horizons &#187; GIS Data</title>
	<atom:link href="http://spatialhorizons.com/category/gis-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://spatialhorizons.com</link>
	<description>Exploring Geographic Technologies with GIS, GPS, C#, XNA, and Open Source Tools</description>
	<lastBuildDate>Thu, 18 Sep 2008 19:00:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sample Dataset &#8211; World Map</title>
		<link>http://spatialhorizons.com/2007/12/09/sample-dataset-world-map/</link>
		<comments>http://spatialhorizons.com/2007/12/09/sample-dataset-world-map/#comments</comments>
		<pubDate>Sun, 09 Dec 2007 14:59:32 +0000</pubDate>
		<dc:creator>James</dc:creator>
				<category><![CDATA[GIS Data]]></category>

		<guid isPermaLink="false">http://spatialhorizons.com/2007/12/09/sample-dataset-world-map/</guid>
		<description><![CDATA[A number of our posts have covered downloading and using GIS data but it should be more beneficial to readers if a single post contained all the instructions needed to acquire the data layers in each dataset. Our first such dataset, named &#8220;World Map&#8221;, has already been introduced but will be discussed in more depth [...]]]></description>
			<content:encoded><![CDATA[<p>A number of our posts have covered downloading and using GIS data but it should be more beneficial to readers if a single post contained all the instructions needed to acquire the data layers in each dataset. Our first such dataset, named &#8220;World Map&#8221;, has already been introduced but will be discussed in more depth here for the sake of new readers.</p>
<p><img src="http://spatialhorizons.com/wp-content/uploads/2007/12/mapservercgi_map1.jpg" alt="CGI MapServer Map" /><br />
<span id="more-147"></span></p>
<p><strong>Dataset Details</strong></p>
<ul>
<li>Number of data layers: 2</li>
<li>Map Projection: Geographic (see <a href="http://en.wikipedia.org/wiki/Plate_carr%C3%A9e_projection">Equirectangular projection</a>)
<li>Map Units: Decimal degrees</li>
<li>Map Extent(min x, min y, max x, max y): -180 -90 180 90</li>
</ul>
<p><strong>Layer 1: Countries Shapefile</strong></p>
<p>The first layer in this dataset is a polygon <a href="http://spatialhorizons.com/faqs#shapefile">shapefile</a> containing world countries.</p>
<p><img src="http://spatialhorizons.com/wp-content/uploads/2007/12/countries_shapefile.jpg" alt="Countries Shapefile" /></p>
<p>Source: <a href="http://www.cipotato.org/diva/data/MoreData.htm">http://www.cipotato.org/diva/data/MoreData.htm</a><br />
Direct download link: <a href="http://www.cipotato.org/diva/data/misc/world_adm0.zip">http://www.cipotato.org/diva/data/misc/world_adm0.zip</a></p>
<p>For more on using this shapefile, see our posts on <a href="http://spatialhorizons.com/2007/09/23/using-qgis-3-more-layer-symbology/">using QGIS</a>.</p>
<p><strong>Layer 2: World Raster</strong></p>
<p>The second data layer is a raster image of the entire world. The original image was very large but we downloaded it and resized to 600 x 300 pixels. Additionally, we had to create a world file to ensure it would spatially align correctly with our countries shapefile (see <a href="http://spatialhorizons.com/2007/09/26/using-qgis-4-raster-images/">this post</a> for more instructions).</p>
<p><img src="http://spatialhorizons.com/wp-content/uploads/2007/12/world_raster.jpg" alt="World Raster" /></p>
<p>Source: <a href="http://commons.wikimedia.org/wiki/World_map">http://commons.wikimedia.org/wiki/World_map</a><br />
Direct link to full-size image (8 MB):<a href="http://upload.wikimedia.org/wikipedia/commons/c/cf/WorldMap-A_non-Frame.png"> http://upload.wikimedia.org/wikipedia/commons/c/cf/WorldMap-A_non-Frame.png</a><br />
Resized Image: <a href="http://www.spatialhorizons.com/downloads/world_raster.tif">http://www.spatialhorizons.com/downloads/world_raster.tif</a><br />
World File: <a href="http://www.spatialhorizons.com/downloads/world_raster.tfw">http://www.spatialhorizons.com/downloads/world_raster.tfw</a></p>
<p><strong>Mapfile Creation</strong></p>
<p>The World Map dataset has been used for several of our projects involving MapServer.  Since MapServer requires a configuration file called a mapfile, one was generated using QGIS in <a href="http://spatialhorizons.com/2007/10/06/using-qgis-5-export-to-mapserver/">this post</a>.  Some minor modifications were made later on so the final version can be downloaded <a href="http://www.spatialhorizons.com/downloads/world_mapfile.map">here</a>.</p>
<p>In the mapfile, the file paths to the data layers should be changed though to reflect your directory structure.</p>
<p>
<pre code="csharp"> LAYER
    NAME 'world_raster'
    TYPE RASTER
    DATA 'C:\\Data\\World\\world_raster.tif'
  ...</pre>
</p>
<p>
<pre code="csharp">LAYER
    NAME 'world_adm0'
    TYPE POLYGON
    DATA 'C:\\Data\\World\\world_adm0.shp'
  ...</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://spatialhorizons.com/2007/12/09/sample-dataset-world-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
