<?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>fromthepantothefire &#187; QGIS</title>
	<atom:link href="http://fromthepantothefire.com/tag/qgis/feed/" rel="self" type="application/rss+xml" />
	<link>http://fromthepantothefire.com</link>
	<description>&#34;...we are not pans and barrows, nor even porters of the fire and torchbearers, but children of the fire, made of it...&#34; -- Ralph Waldo Emerson, The Poet</description>
	<lastBuildDate>Mon, 02 Jan 2023 06:32:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>Reprojecting maps with QGIS</title>
		<link>http://fromthepantothefire.com/2012/11/18/reprojecting-maps-with-qgis/</link>
		<comments>http://fromthepantothefire.com/2012/11/18/reprojecting-maps-with-qgis/#comments</comments>
		<pubDate>Sun, 18 Nov 2012 09:02:27 +0000</pubDate>
		<dc:creator><![CDATA[Zia]]></dc:creator>
				<category><![CDATA[Maps]]></category>
		<category><![CDATA[QGIS]]></category>

		<guid isPermaLink="false">http://fromthepantothefire.com/?p=206</guid>
		<description><![CDATA[I figured out how to reproject maps with Q-GIS and would like to celebrate with this lovely image, a US Atlas Equal Area Projection, which I thought was the most fun of the built in projections in Q-GIS 1.8.0: If the Q-GIS documentation site is working it isn&#8217;t too hard to figure out how to [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I figured out how to reproject maps with Q-GIS and would like to celebrate with this lovely image, a US Atlas Equal Area Projection, which I thought was the most fun of the built in projections in Q-GIS 1.8.0:</p>
<p><a href="http://fromthepantothefire.com/wp-content/uploads/2012/11/UsAtlasEqualArea_cropped.png"><img class="alignnone size-full wp-image-210" title="UsAtlasEqualArea_cropped" src="http://fromthepantothefire.com/wp-content/uploads/2012/11/UsAtlasEqualArea_cropped.png" alt="" width="1092" height="1064" /></a></p>
<p>If the Q-GIS documentation site is working it isn&#8217;t too hard to figure out how to reproject. Quick summary:</p>
<ul>
<li>File &gt;&gt; Project Properties: You can set the project Coordinate Reference System (CRS), if you &#8220;Enable &#8216;on the fly&#8217; CRS transformation&#8221; you can play around with the different projection options.</li>
<li>To set the CRS on a shapefile layer, right-click on the layer name and select &#8220;Set Layer CRS&#8221;, this is particularly useful if you don&#8217;t have &#8216;on the fly&#8217; enabled, then your layers will not display if they are in a different CRS than the current project one, in which case you can change them here so they will display.</li>
</ul>
<p>Note for practical equal area projections I found the Mollweide options seemed to work well, but don&#8217;t understand yet the difference between world and sphere options. Anyone?</p>
<p>Funny, it wasn&#8217;t untill I started looking at these equal area projections that I realized how big Russia is!</p>
]]></content:encoded>
			<wfw:commentRss>http://fromthepantothefire.com/2012/11/18/reprojecting-maps-with-qgis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A better simple map</title>
		<link>http://fromthepantothefire.com/2012/11/16/a-better-simple-map/</link>
		<comments>http://fromthepantothefire.com/2012/11/16/a-better-simple-map/#comments</comments>
		<pubDate>Fri, 16 Nov 2012 10:46:37 +0000</pubDate>
		<dc:creator><![CDATA[Zia]]></dc:creator>
				<category><![CDATA[Maps]]></category>
		<category><![CDATA[pyshp]]></category>
		<category><![CDATA[QGIS]]></category>

		<guid isPermaLink="false">http://fromthepantothefire.com/?p=190</guid>
		<description><![CDATA[I am learning to use pyshp.py (a pretty buggy but functional python module for reading and writing ESRI shapefiles) and Quantum GIS. As a quick demonstration I replotted the data from an earlier map. Q-GIS makes it pretty easy to adjust the appearance. The world map shapefile is from Natural Earth. This time I generated [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I am learning to use pyshp.py (a pretty buggy but functional python module for reading and writing ESRI shapefiles) and Quantum GIS. As a quick demonstration I replotted the data from an <a href="http://fromthepantothefire.com/2012/10/04/putting-data-on-a-map/">earlier map</a>. Q-GIS makes it pretty easy to adjust the appearance. The world map shapefile is from <a href="http://www.naturalearthdata.com/downloads/50m-cultural-vectors/">Natural Earth</a>.</p>
<p><a href="http://fromthepantothefire.com/wp-content/uploads/2012/11/stationsFromShapefile.jpg"><img class="alignnone size-full wp-image-191" title="stationsFromShapefile" src="http://fromthepantothefire.com/wp-content/uploads/2012/11/stationsFromShapefile.jpg" alt="" width="1269" height="720" /></a></p>
<p>This time I generated a shapefile from python directly, super easy (I will highlight problems with pyshp in a future post, but creating this simple file worked fine, although doesn&#8217;t seem to define a CRS, I am pretty sure it is WGS 84). Here is the code:</p>
<p>import shapefile<br />
w = shapefile.Writer(shapefile.POINT)<br />
max_len = max([len(s.name) for s in stations])<br />
w.field(&#8216;NAME&#8217;,&#8217;C&#8217;,&#8217;%i&#8217;%max_len)<br />
for s in stations:<br />
&nbsp;&nbsp;&nbsp;&nbsp;w.record(s.name)<br />
&nbsp;&nbsp;&nbsp;&nbsp;w.point(s.lon, s.lat)</p>
<p>w.save(&#8216;stations&#8217;)</p>
]]></content:encoded>
			<wfw:commentRss>http://fromthepantothefire.com/2012/11/16/a-better-simple-map/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
