<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Free and Open Source GIS Ramblings</title>
	<atom:link href="http://underdark.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://underdark.wordpress.com</link>
	<description>... working with free and open source geographic information systems</description>
	<lastBuildDate>Fri, 27 Jan 2012 19:34:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='underdark.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Free and Open Source GIS Ramblings</title>
		<link>http://underdark.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://underdark.wordpress.com/osd.xml" title="Free and Open Source GIS Ramblings" />
	<atom:link rel='hub' href='http://underdark.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Looking for Roundabouts in OSM</title>
		<link>http://underdark.wordpress.com/2012/01/27/looking-for-roundabouts-in-osm/</link>
		<comments>http://underdark.wordpress.com/2012/01/27/looking-for-roundabouts-in-osm/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 11:17:11 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[OSM]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1581</guid>
		<description><![CDATA[Roundabouts are handled interestingly in OSM: They can be both nodes or ways and represented as points, lines or polygons. And this is how they can be downloaded for a specific area: &#62; wget http://open.mapquestapi.com/xapi/api/0.6/node[highway=mini_roundabout][bbox=15.86,47.95,16.88,48.70] &#62; wget http://open.mapquestapi.com/xapi/api/0.6/way[junction=roundabout][bbox=15.86,47.95,16.88,48.70] Note: Not &#8230; <a href="http://underdark.wordpress.com/2012/01/27/looking-for-roundabouts-in-osm/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1581&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Roundabouts are handled interestingly in OSM: They can be both nodes or ways and represented as points, lines or polygons.</p>
<p>And this is how they can be downloaded for a specific area:</p>
<p><code>&gt; wget http://open.mapquestapi.com/xapi/api/0.6/node[highway=mini_roundabout][bbox=15.86,47.95,16.88,48.70]<br />
&gt; wget http://open.mapquestapi.com/xapi/api/0.6/way[junction=roundabout][bbox=15.86,47.95,16.88,48.70]</code></p>
<p>Note: Not all XAPI servers are available all of the time. Check this site if the server is down: <a href="http://wiki.openstreetmap.org/wiki/Xapi#jXAPI">OSM Wiki &#8211; Xapi</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1581/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1581/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1581/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1581&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2012/01/27/looking-for-roundabouts-in-osm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>
	</item>
		<item>
		<title>A Guide to Beautiful Reliefs in QGIS</title>
		<link>http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/</link>
		<comments>http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 20:06:00 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[QGIS]]></category>
		<category><![CDATA[cartography]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1541</guid>
		<description><![CDATA[This week Sourcepole released a new addition to the Raster Terrain Analysis plugin: a sophisticated Relief tool. (More info in their announcement) This plugin is shipped with QGIS (developer version, not in 1.7.3 release) by default but you might have &#8230; <a href="http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1541&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This week Sourcepole released a new addition to the <strong>Raster Terrain Analysis</strong> plugin: a sophisticated <strong>Relief</strong> tool. (<a href="http://www.sourcepole.com/shaded-relief-maps-with-qgis">More info in their announcement</a>) This plugin is shipped with QGIS (developer version, not in 1.7.3 release) by default but you might have to activate it in Plugin Manager:</p>
<p><a href="http://underdark.files.wordpress.com/2012/01/raster_terrain2.png"><img src="http://underdark.files.wordpress.com/2012/01/raster_terrain2.png?w=300&#038;h=219" alt="" title="raster_terrain" width="300" height="219" class="aligncenter size-medium wp-image-1559" /></a></p>
<p>The plugin dialog is quite self-explanatory. You can chose the elevation file, output path and any of the numerous raster formats. The <strong>z factor</strong> is a bit more mysterious. We will have a look at that in a second. The rest of the dialog is the relief color editor. Pressing <strong>Create automatically</strong> will give you a color gradient to start with.</p>
<div id="attachment_1566" class="wp-caption aligncenter" style="width: 594px"><a href="http://underdark.files.wordpress.com/2012/01/relief_dialog.png"><img src="http://underdark.files.wordpress.com/2012/01/relief_dialog.png?w=584&#038;h=467" alt="" title="relief_dialog" width="584" height="467" class="size-full wp-image-1566" /></a><p class="wp-caption-text">Relief tool dialog</p></div>
<p>But what&#8217;s the <strong>z factor</strong> good for? </p>
<p>I&#8217;ve tried a few different settings using free NASA SRTM data and it seems that higher values lead to a smoother relief (Please ignore the water areas):</p>

<a href='http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/relief_z100/' title='relief_z100'><img data-attachment-id='1542' data-orig-size='1021,611' data-liked='0'width="150" height="89" src="http://underdark.files.wordpress.com/2012/01/relief_z100.png?w=150&#038;h=89" class="attachment-thumbnail" alt="z factor = 100" title="relief_z100" /></a>
<a href='http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/relief_z1000/' title='relief_z1000'><img data-attachment-id='1543' data-orig-size='1021,611' data-liked='0'width="150" height="89" src="http://underdark.files.wordpress.com/2012/01/relief_z1000.png?w=150&#038;h=89" class="attachment-thumbnail" alt="z factor = 1000" title="relief_z1000" /></a>
<a href='http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/relief_z10000/' title='relief_z10000'><img data-attachment-id='1544' data-orig-size='1021,611' data-liked='0'width="150" height="89" src="http://underdark.files.wordpress.com/2012/01/relief_z10000.png?w=150&#038;h=89" class="attachment-thumbnail" alt="z factor = 10000" title="relief_z10000" /></a>
<a href='http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/relief_z50000/' title='relief_z50000'><img data-attachment-id='1545' data-orig-size='1021,611' data-liked='0'width="150" height="89" src="http://underdark.files.wordpress.com/2012/01/relief_z50000.png?w=150&#038;h=89" class="attachment-thumbnail" alt="z factor = 50000" title="relief_z50000" /></a>
<a href='http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/relief_z100000/' title='relief_z100000'><img data-attachment-id='1546' data-orig-size='1021,611' data-liked='0'width="150" height="89" src="http://underdark.files.wordpress.com/2012/01/relief_z100000.png?w=150&#038;h=89" class="attachment-thumbnail" alt="z factor = 100000" title="relief_z100000" /></a>

<p><strong>Update:</strong></p>
<p>As Marco noted in the comments: The z factor is used if the x/y units are different from the z unit. </p>
<ul>
<li>
If everything is in meters, use z factor 1.0 (default).</li>
<li>
 If x/y is in degree and z in meters, use z factor 111120. </li>
<li>
If x/y degree and z is feet, use z factor 370400.</li>
</ul>
<p>In the example above SRTM rasters are in WGS84 with heights in meters. That&#8217;s why the result using a z factor of 100000 looks so good.</p>
<p>In my opinion the results look great even with the coarse SRTM dataset I used. Looking forward to all the great QGIS maps we will see in the future.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1541/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1541/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1541/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1541&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2012/01/19/a-guide-to-beautiful-reliefs-in-qgis/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/raster_terrain2.png?w=300" medium="image">
			<media:title type="html">raster_terrain</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/relief_dialog.png" medium="image">
			<media:title type="html">relief_dialog</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/relief_z100.png?w=150" medium="image">
			<media:title type="html">relief_z100</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/relief_z1000.png?w=150" medium="image">
			<media:title type="html">relief_z1000</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/relief_z10000.png?w=150" medium="image">
			<media:title type="html">relief_z10000</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/relief_z50000.png?w=150" medium="image">
			<media:title type="html">relief_z50000</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/relief_z100000.png?w=150" medium="image">
			<media:title type="html">relief_z100000</media:title>
		</media:content>
	</item>
		<item>
		<title>Easier Conditional Labels in QGIS</title>
		<link>http://underdark.wordpress.com/2012/01/09/easier-conditional-labels-in-qgis/</link>
		<comments>http://underdark.wordpress.com/2012/01/09/easier-conditional-labels-in-qgis/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 20:17:07 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[QGIS]]></category>
		<category><![CDATA[labeling]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1527</guid>
		<description><![CDATA[With Martin&#8217;s latest addition of conditional statements it&#8217;s now even easier to get conditional labels in QGIS. Following up on the example used in my previous post, we can simplify substr(osm_name, 0, (clazz = 11 or clazz = 13 or &#8230; <a href="http://underdark.wordpress.com/2012/01/09/easier-conditional-labels-in-qgis/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1527&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With Martin&#8217;s latest addition of conditional statements it&#8217;s now even easier to get conditional labels in QGIS. Following up on <a href="http://underdark.wordpress.com/2011/12/30/conditional-labels-in-qgis/" title="Conditional Labels in QGIS">the example used in my previous post</a>, we can simplify</p>
<p><code>substr(osm_name, 0, (clazz = 11 or clazz = 13 or clazz = 15 or clazz = 21)*-1)</code></p>
<p>to</p>
<p><code>CASE WHEN (clazz = 11 or clazz = 13 or clazz = 15 or clazz = 21) THEN osm_name END</code></p>
<p>which is much easier to read and remember. </p>
<p>To avoid roads from being labeled with only their road numbers, I added an additional check that the &#8220;osm_name&#8221; is longer than six characters. Thanks to Nathan&#8217;s syntax highlighting this new and powerful expression based labeling is also comfortable to use.</p>
<div id="attachment_1528" class="wp-caption aligncenter" style="width: 579px"><a href="http://underdark.files.wordpress.com/2012/01/qgis_expression_labels.png"><img src="http://underdark.files.wordpress.com/2012/01/qgis_expression_labels.png?w=584" alt="" title="qgis_expression_labels"   class="size-full wp-image-1528" /></a><p class="wp-caption-text">Conditional labels for an osm2po layer</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1527/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1527/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1527/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1527&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2012/01/09/easier-conditional-labels-in-qgis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2012/01/qgis_expression_labels.png" medium="image">
			<media:title type="html">qgis_expression_labels</media:title>
		</media:content>
	</item>
		<item>
		<title>Conditional Labels in QGIS</title>
		<link>http://underdark.wordpress.com/2011/12/30/conditional-labels-in-qgis/</link>
		<comments>http://underdark.wordpress.com/2011/12/30/conditional-labels-in-qgis/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 14:54:03 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[QGIS]]></category>
		<category><![CDATA[labeling]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1517</guid>
		<description><![CDATA[The latest QGIS development build (1.9.90) has a new feature &#8220;expression based labeling&#8221; which can be used to create conditional labels. One typical use case would be if you want to label only certain (high-level) road classes in your road &#8230; <a href="http://underdark.wordpress.com/2011/12/30/conditional-labels-in-qgis/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1517&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The latest QGIS development build (1.9.90) has a new feature &#8220;expression based labeling&#8221; which can be used to create conditional labels. One typical use case would be if you want to label only certain (high-level) road classes in your road layer. By default, QGIS labels the features rather randomly:</p>
<div id="attachment_1518" class="wp-caption aligncenter" style="width: 594px"><a href="http://underdark.files.wordpress.com/2011/12/labels_normal.png"><img src="http://underdark.files.wordpress.com/2011/12/labels_normal.png?w=584&#038;h=353" alt="" title="labels_normal" width="584" height="353" class="size-full wp-image-1518" /></a><p class="wp-caption-text">default labeling</p></div>
<p>How can we label only the more important roads? Here is an example using OSM data imported into PostGIS using osm2po:</p>
<p>If you have <a href="http://underdark.wordpress.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/" title="Osm2po Part 2 – PgRouting on OSM the Easy Way">loaded OSM using osm2po</a>, your OSM table will contain a &#8220;clazz&#8221; attribute. (Check osm2po.config for the exact mapping.) To label only motorways, trunks, primary and secondary roads and nothing else, I wrote this labeling expression:</p>
<p><code>substr(osm_name, 0, (clazz = 11 or clazz = 13 or clazz = 15 or clazz = 21)*-1)</code></p>
<p>If clazz equals 11, 13, 15 or 21, the expression returns the value of osm_name. Otherwise it returns an empty string. (All checks will return false or 0 which causes the function to evaluate to substr(osm_name,0,0).) Kudos to Giuseppe Sucameli who explained this on the mailing list.</p>
<div id="attachment_1519" class="wp-caption aligncenter" style="width: 594px"><a href="http://underdark.files.wordpress.com/2011/12/labels_conditional.png"><img src="http://underdark.files.wordpress.com/2011/12/labels_conditional.png?w=584&#038;h=353" alt="" title="labels_conditional" width="584" height="353" class="size-full wp-image-1519" /></a><p class="wp-caption-text">expression based &quot;conditional&quot; labels</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1517/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1517/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1517/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1517&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2011/12/30/conditional-labels-in-qgis/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2011/12/labels_normal.png" medium="image">
			<media:title type="html">labels_normal</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2011/12/labels_conditional.png" medium="image">
			<media:title type="html">labels_conditional</media:title>
		</media:content>
	</item>
		<item>
		<title>Mapping QGIS Users</title>
		<link>http://underdark.wordpress.com/2011/12/27/mapping-qgis-users/</link>
		<comments>http://underdark.wordpress.com/2011/12/27/mapping-qgis-users/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 20:53:56 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[QGIS]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1507</guid>
		<description><![CDATA[For &#8220;QGIS Users Around the World&#8221; Gary Sherman collected and geocoded a few weeks of accesses to the plugin repositories. This map is my first attempt at mapping the data for use in QGIS publications: Considering the coarse resolution of &#8230; <a href="http://underdark.wordpress.com/2011/12/27/mapping-qgis-users/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1507&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For <a href="http://spatialgalaxy.net/2011/12/19/qgis-users-around-the-world/">&#8220;QGIS Users Around the World&#8221;</a> Gary Sherman collected and geocoded a few weeks of accesses to the plugin repositories. This map is my first attempt at mapping the data for use in QGIS publications:</p>
<p><a href="http://underdark.files.wordpress.com/2011/12/pluginrepo_requests_global_clipped.png"><img src="http://underdark.files.wordpress.com/2011/12/pluginrepo_requests_global_clipped.png?w=584&#038;h=343" alt="" title="pluginrepo_requests_global_clipped" width="584" height="343" class="aligncenter size-full wp-image-1508" /></a></p>
<p>Considering the coarse resolution of geocoded IP addresses, I&#8217;ve decided to count the number of unique IP addresses within each area (5&#215;5 degrees). We can make out a lot of activity in Europe, Japan, Brazil and the US. The high number of accesses from the US mid west are due to IPs being mapped to country-level only.</p>
<p>I would love to hear your feedback on this one!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1507/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1507/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1507/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1507&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2011/12/27/mapping-qgis-users/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2011/12/pluginrepo_requests_global_clipped.png" medium="image">
			<media:title type="html">pluginrepo_requests_global_clipped</media:title>
		</media:content>
	</item>
		<item>
		<title>TimeManager is now on Github</title>
		<link>http://underdark.wordpress.com/2011/12/27/timemanager-is-now-on-github/</link>
		<comments>http://underdark.wordpress.com/2011/12/27/timemanager-is-now-on-github/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 18:33:06 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[QGIS]]></category>
		<category><![CDATA[Time Manager]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1502</guid>
		<description><![CDATA[TimeManager is now available on Github (right beside pgRoutingLayer). If you want to try it, you can install version 0.4 from the new QGIS Plugin Repository. I&#8217;ve also uploaded some test data such as the twitter file used for the &#8230; <a href="http://underdark.wordpress.com/2011/12/27/timemanager-is-now-on-github/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1502&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>TimeManager is now available on <a href="https://github.com/anitagraser/TimeManager/">Github</a> (right beside <a href="https://github.com/anitagraser/pgRoutingLayer">pgRoutingLayer</a>).</p>
<p>If you want to try it, you can install version 0.4 from the <a href="http://plugins.qgis.org/plugins/timemanager/">new QGIS Plugin Repository</a>. I&#8217;ve also uploaded <a href="https://github.com/anitagraser/TimeManager/tree/master/testdata">some test data</a> such as the twitter file used for <a href="http://underdark.wordpress.com/2011/11/20/nice-animations-with-time-managers-offset-feature/" title="Nice Animations with Time Manager’s Offset Feature">the animation I presented recently.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1502/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1502/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1502/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1502&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2011/12/27/timemanager-is-now-on-github/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Install Sphinx</title>
		<link>http://underdark.wordpress.com/2011/12/26/how-to-install-sphinx/</link>
		<comments>http://underdark.wordpress.com/2011/12/26/how-to-install-sphinx/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 16:30:24 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[QGIS]]></category>
		<category><![CDATA[PyQGIS]]></category>
		<category><![CDATA[Sphinx]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1497</guid>
		<description><![CDATA[This post summarizes how to install sphinx on Windows to contribute to PyQGIS Cookbook. I&#8217;m writing this as I go, so this most likely won&#8217;t be perfect. I used my Python 2.6 stand-alone installation (not the one in OSGeo4W). Get &#8230; <a href="http://underdark.wordpress.com/2011/12/26/how-to-install-sphinx/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1497&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post summarizes how to install sphinx on Windows to contribute to PyQGIS Cookbook. I&#8217;m writing this as I go, so this most likely won&#8217;t be perfect.</p>
<p>I used my Python 2.6 stand-alone installation (not the one in OSGeo4W). </p>
<ol>
<li>Get the Sphinx egg from <a href="http://pypi.python.org/pypi/Sphinx">http://pypi.python.org/pypi/Sphinx</a></li>
<li>If you don&#8217;t have it, install setuptools to get the easy_install script <a href="http://pypi.python.org/pypi/setuptools">http://pypi.python.org/pypi/setuptools</a></li>
<li>In C:\Python26\Scripts run <code>easy_install -U sphinx</code> </li>
<li>Get the PyQGIS source from <a href="https://github.com/qgis/QGIS-Developer-Cookbook">https://github.com/qgis/QGIS-Developer-Cookbook</a></li>
<li>Create a build folder inside the QGIS-Developer-Cookbook</li>
<li>Now you can build the Cookbook: <code>sphinx-build "C:\Users\Anita\QGIS\QGIS-Developer-Cookbook\source" "C:\Users\Anita\QGIS\QGIS-Developer-Cookbook\build"</code></li>
</ol>
<p>The build folder should now contain the Cookbook .html files.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1497/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1497/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1497/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1497&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2011/12/26/how-to-install-sphinx/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>
	</item>
		<item>
		<title>Collected QGIS Resources</title>
		<link>http://underdark.wordpress.com/2011/12/25/collected-qgis-resources/</link>
		<comments>http://underdark.wordpress.com/2011/12/25/collected-qgis-resources/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 11:59:56 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[QGIS]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1487</guid>
		<description><![CDATA[I&#8217;ve set up a GitHub repo where I will publish QGIS resources such as symbols and styles: https://github.com/anitagraser/QGIS-resources You can already find symbols/styles described in these posts: Colorbrewer color ramp symbols &#8220;Google Maps” road symbols &#8220;Google Maps” style for OSM &#8230; <a href="http://underdark.wordpress.com/2011/12/25/collected-qgis-resources/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1487&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve set up a GitHub repo where I will publish QGIS resources such as symbols and styles: <a href="https://github.com/anitagraser/QGIS-resources">https://github.com/anitagraser/QGIS-resources</a></p>
<p>You can already find symbols/styles described in these posts:</p>
<ul>
<li><a href="http://underdark.wordpress.com/2011/11/02/more-color-ramps-for-qgis/" title="More Color Ramps for QGIS">Colorbrewer color ramp symbols</a></li>
<li><a href="http://underdark.wordpress.com/2011/12/23/google-road-symbols-for-qgis/" title="Google Road Symbols for QGIS">&#8220;Google Maps” road symbols</a></li>
<li><a href="http://underdark.wordpress.com/2011/09/16/google-maps-styled-road-maps-in-qgis/" title="“Google Maps”-Style Road Maps in QGIS">&#8220;Google Maps” style for OSM roads</a>
</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1487/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1487/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1487/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1487&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2011/12/25/collected-qgis-resources/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>
	</item>
		<item>
		<title>Google Road Symbols for QGIS</title>
		<link>http://underdark.wordpress.com/2011/12/23/google-road-symbols-for-qgis/</link>
		<comments>http://underdark.wordpress.com/2011/12/23/google-road-symbols-for-qgis/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 15:17:28 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[OSM]]></category>
		<category><![CDATA[QGIS]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1474</guid>
		<description><![CDATA[It&#8217;s Dec, 23rd and this is my early present to the QGIS community: a package of ready-to-use road symbols that make your OpenStreetMap data look like Google Maps. In a previous post, I did already show how to prepare a &#8230; <a href="http://underdark.wordpress.com/2011/12/23/google-road-symbols-for-qgis/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1474&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s Dec, 23rd and this is my early present to the QGIS community: a package of ready-to-use road symbols that make your OpenStreetMap data look like Google Maps.</p>
<p>In <a href="http://underdark.wordpress.com/2011/09/16/google-maps-styled-road-maps-in-qgis/" title="“Google Maps”-Style Road Maps in QGIS">a previous post</a>, I did already show how to prepare a view that will help get similar looking road labels. And now, here are the necessary symbols: <a href="https://github.com/anitagraser/QGIS-resources/blob/master/symbols/osm_symbols.xml">osm_symbols.xml</a> (Load using &#8220;Style Manager&#8221;.)</p>
<p>Now, you should have all necessary symbols available to create the style. I used the following rules to get the map shown above:</p>
<div id="attachment_1475" class="wp-caption aligncenter" style="width: 594px"><a href="http://underdark.files.wordpress.com/2011/12/osm_rules.png"><img src="http://underdark.files.wordpress.com/2011/12/osm_rules.png?w=584&#038;h=330" alt="" title="osm_rules" width="584" height="330" class="size-full wp-image-1475" /></a><p class="wp-caption-text">rules for &quot;Google Maps&quot; style</p></div>
<p>You can download the style here: <a href="https://github.com/anitagraser/QGIS-resources/blob/master/styles/v_osm_roads_style.qml">v_osm_roads_style.qml</a></p>
<p>Merry Christmas!</p>
<div id="attachment_1477" class="wp-caption aligncenter" style="width: 551px"><a href="http://underdark.files.wordpress.com/2011/12/osm_styled.png"><img src="http://underdark.files.wordpress.com/2011/12/osm_styled.png?w=584" alt="" title="osm_styled"   class="size-full wp-image-1477" /></a><p class="wp-caption-text">OSM styled like &quot;Google Maps&quot;</p></div>
<p>PS: For water and natural areas, I used Cloudmade&#8217;s natural.shp</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1474/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1474/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1474/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1474&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2011/12/23/google-road-symbols-for-qgis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2011/12/osm_rules.png" medium="image">
			<media:title type="html">osm_rules</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2011/12/osm_styled.png" medium="image">
			<media:title type="html">osm_styled</media:title>
		</media:content>
	</item>
		<item>
		<title>Osm2po Part 2 &#8211; PgRouting on OSM the Easy Way</title>
		<link>http://underdark.wordpress.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/</link>
		<comments>http://underdark.wordpress.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 22:19:54 +0000</pubDate>
		<dc:creator>underdark</dc:creator>
				<category><![CDATA[OSM]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[QGIS]]></category>
		<category><![CDATA[osm2po]]></category>
		<category><![CDATA[pgRouting]]></category>
		<category><![CDATA[pgRouting Layer]]></category>
		<category><![CDATA[shortest paths]]></category>

		<guid isPermaLink="false">http://underdark.wordpress.com/?p=1456</guid>
		<description><![CDATA[This is the follow up post to &#8220;An osm2po Quickstart&#8221; which covers loading the OSM network into PostGIS and using the result with pgRouting. After parsing the OSM file, e.g. C:\Users\Anita\temp\osm2po-4.2.30&#62;java -jar osm2po-core-4.2.30-signed.jar prefix=at "C:\Users\Anita\Geodaten\OpenStreetMap Data\austria.osm.pbf" you should find a folder &#8230; <a href="http://underdark.wordpress.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1456&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the follow up post to <a href="http://underdark.wordpress.com/2011/12/15/an-osm2po-quickstart/" title="An osm2po Quickstart">&#8220;An osm2po Quickstart&#8221;</a> which covers loading the OSM network into PostGIS and using the result with pgRouting. After parsing the OSM file, e.g.</p>
<p><code>C:\Users\Anita\temp\osm2po-4.2.30&gt;java -jar osm2po-core-4.2.30-signed.jar prefix=at "C:\Users\Anita\Geodaten\OpenStreetMap Data\austria.osm.pbf"</code></p>
<p>you should find a folder with the name of the prefix you chose inside the osm2po folder. It contains a log file which in turn provides a command line template for importing the OSM network into PostGIS, e.g.</p>
<p><code>INFO commandline template: psql -U [username] -d [dbname] -q -f "C:\Users\Anita\temp\osm2po-4.2.30\at\at_2po_4pgr.sql"</code></p>
<p>Using this template, we can easily import the .sql file into an exiting database. My pgRouting-enabled database is called wien_ogd.</p>
<p><code>C:\Users\Anita\temp\osm2po-4.2.30\at&gt;psql -U [username] -d wien_ogd -q -f C:\Users\Anita\temp\osm2po-4.2.30\at\at_2po_4pgr.sql</code></p>
<p>Now, the data is ready for usage in QGIS:</p>
<div id="attachment_1463" class="wp-caption aligncenter" style="width: 594px"><a href="http://underdark.files.wordpress.com/2011/12/osm2po_imported.png"><img src="http://underdark.files.wordpress.com/2011/12/osm2po_imported.png?w=584&#038;h=402" alt="" title="osm2po_imported" width="584" height="402" class="size-full wp-image-1463" /></a><p class="wp-caption-text">The osm2po table in QGIS</p></div>
<p>Using &#8220;pgRouting Layer&#8221; plugin, it&#8217;s now straightforward to calculate shortest paths. I had to apply some changes to the plugin code, so please get the latest version from <a href="https://github.com/anitagraser/pgRoutingLayer">Github</a>.</p>
<div id="attachment_1467" class="wp-caption aligncenter" style="width: 594px"><a href="http://underdark.files.wordpress.com/2011/12/osm2po_route.png"><img src="http://underdark.files.wordpress.com/2011/12/osm2po_route.png?w=584&#038;h=429" alt="" title="osm2po_route" width="584" height="429" class="size-full wp-image-1467" /></a><p class="wp-caption-text">A shortest path in osm2po network</p></div>
<p>Using osm2po turned out to be far less painful than I expected and I hope you&#8217;ll find this post useful too.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/underdark.wordpress.com/1456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/underdark.wordpress.com/1456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/underdark.wordpress.com/1456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/underdark.wordpress.com/1456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/underdark.wordpress.com/1456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/underdark.wordpress.com/1456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/underdark.wordpress.com/1456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/underdark.wordpress.com/1456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/underdark.wordpress.com/1456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/underdark.wordpress.com/1456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/underdark.wordpress.com/1456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/underdark.wordpress.com/1456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/underdark.wordpress.com/1456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/underdark.wordpress.com/1456/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=underdark.wordpress.com&amp;blog=835829&amp;post=1456&amp;subd=underdark&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://underdark.wordpress.com/2011/12/18/osm2po-part-2-pgrouting-on-osm-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/70650c12de2f6352e141d3245e5d4350?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">underdark</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2011/12/osm2po_imported.png" medium="image">
			<media:title type="html">osm2po_imported</media:title>
		</media:content>

		<media:content url="http://underdark.files.wordpress.com/2011/12/osm2po_route.png" medium="image">
			<media:title type="html">osm2po_route</media:title>
		</media:content>
	</item>
	</channel>
</rss>
