<?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:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>DARREN COPE</title>
	<atom:link href="http://darrencope.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://darrencope.com</link>
	<description>Cycling, GIS, and Life</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:36:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>QGIS Can Now Delete Columns In Shapefiles!</title>
		<link>http://darrencope.com/2012/01/13/qgis-can-now-delete-columns-in-shapefiles/</link>
		<comments>http://darrencope.com/2012/01/13/qgis-can-now-delete-columns-in-shapefiles/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 13:02:37 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=1029</guid>
		<description><![CDATA[How many times have you opened a shapefile in QGIS, and found yourself wanting to be able to modify its schema? If you&#8217;re like me, it happens on a very regular basis! One of my major frustrations with QGIS is that I couldn&#8217;t do this without creating another copy of the shapefile. This seemed rather [...]]]></description>
			<content:encoded><![CDATA[<p>How many times have you opened a shapefile in QGIS, and found yourself wanting to be able to modify its schema? If you&#8217;re like me, it happens on a very regular basis! One of my major frustrations with QGIS is that I couldn&#8217;t do this without creating another copy of the shapefile. This seemed rather unnecessary, and added to my already large data management challenge! This limitation was one of the (now very few) reasons I had to bump over to <a title="Kosmo GIS" href="http://www.opengis.es/">Kosmo GIS</a> in my normal workflow.</p>
<p>I&#8217;m happy to say that the 0.3.9 version of QGIS&#8217; &#8220;Table Manager&#8221; Plugin by Borys Jurgiel now allows you to change a shapefile schema without having to save the output to a new file!</p>
<p>You can install the plugin via the Plugin Installer &#8211; look for &#8220;Table Manager.&#8221; Once it&#8217;s installed, find it under &#8220;Plugins &gt; Table &gt; Table Manager.&#8221; It&#8217;ll operate on the feature you have selected in the legend, and open up a simple window that looks like this:</p>
<div id="attachment_1030" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2012/01/20120112_TableManager.png" rel="lightbox[1029]"><img class="size-medium wp-image-1030" title="Table Manager" src="http://darrencope.com/wp-content/uploads/2012/01/20120112_TableManager-300x246.png" alt="Table Manager" width="300" height="246" /></a><p class="wp-caption-text">Table Manager</p></div>
<p>You can then reorder columns, rename columns, insert columns, clone (copy) columns, change data types, and <strong>delete</strong> columns! To be fair, you could do all of this before. The difference is that now you can just hit &#8220;Save&#8221; down at the bottom, and carry on! Before, you would have to &#8220;Save As,&#8221; browse to a folder, and create a whole new file. Then add this new file to your map, theme it appropriately, and remove the old layer. Annoying. Now, it&#8217;s a super simple one-step process!</p>
<p>A nice touch is that the old .dbf file is archived in case of a mishap. The archive is stored alongside the rest of the shapefile, but has the extension .dbf~</p>
<p>Thanks Borys!</p>
<p>Now, if only this was built in to the &#8220;Properties &gt; Fields&#8221; tab! ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2012/01/13/qgis-can-now-delete-columns-in-shapefiles/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Tour de Brew – Part VI</title>
		<link>http://darrencope.com/2011/12/12/tour-de-brew-%e2%80%93-part-vi/</link>
		<comments>http://darrencope.com/2011/12/12/tour-de-brew-%e2%80%93-part-vi/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 23:53:43 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[Cycling]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=1009</guid>
		<description><![CDATA[The long awaited Tour de Brew &#8211; Part VI is finally here! It&#8217;s the wrap-up edition, and I&#8217;ll try to keep it short and sweet! Monday morning was warm again, but not super hot, with a misty rain that left the roads wet. Matt and I were up for one final ride before leaving, so [...]]]></description>
			<content:encoded><![CDATA[<p>The long awaited Tour de Brew &#8211; Part VI is finally here! It&#8217;s the wrap-up edition, and I&#8217;ll try to keep it short and sweet!</p>
<p>Monday morning was warm again, but not super hot, with a misty rain that left the roads wet. Matt and I were up for one final ride before leaving, so we kitted up and rolled out the gravel road from the cabin back to the pavement. We then went down to Jeffersonville, so we could say we officially started the ride at the bottom of the climb :)</p>
<p>We repeated the climb up Smuggler&#8217;s Notch that we did the first day. Despite the miles and elevation gain I&#8217;d put in my legs the last few days, I was feeling quite good, and was no longer intimidated by the mountains. We had a solid ride up, and reveled in the scenery and pain. Outstanding! At the top, I debated continuing down the other side, but the wet roads and lack of confidence on the tight switchback made me unsure. Matt decided he didn&#8217;t want to do another climb, and since I was on the fence, decided not to descend alone. We turned around and started to fly down. However, near the start of the descent, Matt pulled over, so naturally I followed suit to see what was up. He had a &#8216;knocking&#8217; sound on every rotation of his rear wheel, and it was a bit disconcerting, especially at those speeds! We looked it over, but couldn&#8217;t see anything obviously wrong, so decided to continue! Closer to the bottom of the descent, Matt had a bit of a scare as some idiot driver turned left in front of him as he was descending at 80+km/hr. He had to slow, but not too much, and luckily stayed in control. What inspired the driver to turn when he could have waited a few more seconds and had the entire road is beyond me. Sometimes, drivers need to realize how easily they can kill cyclists! I was far enough behind the action to get a good view, but didn&#8217;t have to slow.</p>
<p>We rode back to the cabin, but then decided to check out the rest of the resort and cabins that we hadn&#8217;t seen yet. Of the roads at the resort are all gravel&#8230; and you know what that means! The final little descent, just several hundred meters from our own cabin, I got a flat. And since I decided not to bother changing it just then (we were heading home after all&#8230;) I shouldered the bike to walk it in the last few hundred meters. Of course somewhere in that time I managed to step in dog shit, which packed into my cleat and vent holes in the bottom of my shoe sole. Nice! What a way to end the trip! (I will use the &#8216;never a dull moment&#8217; excuse to make that one into a positive!)</p>
<p>Overall, Monday&#8217;s ride was short, but great! 32.54 km in 1:18:31. We climbed 673m, at an average speed of 18.26km/hr on an average gradient of 5%, with a max of 11%. After the ride, we cleaned up, packed up, and headed back to Perth. It was a fairly uneventful trip back, and we were all exhausted!</p>
<p>Over the course of the entire trip, we managed to get in 245.44km of riding over 9.5hours. Total climbing was 3875m! For all of us, the trip contained the biggest, steepest, and longest climbs we&#8217;d ever done. A great learning experience and a whole lot of fun! Personally, it was the best riding experience I&#8217;ve ever had, and I&#8217;m fairly certain the other guys would agree! Naturally, plans are already being discussed for TdB 2012!</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/12/12/tour-de-brew-%e2%80%93-part-vi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Tour de Brew]]></series:name>
	</item>
		<item>
		<title>New &#8220;Control Rendering Order&#8221; Option in QGIS</title>
		<link>http://darrencope.com/2011/12/01/new-control-rendering-order-option-in-qgis/</link>
		<comments>http://darrencope.com/2011/12/01/new-control-rendering-order-option-in-qgis/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 14:03:34 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=1004</guid>
		<description><![CDATA[I just downloaded the latest QGIS development build (1.9.90-9) and immediately noticed a significant change to the look of the layer legend pane. It now looks like this: You&#8217;ll see that it is split into two panes, with one called &#8220;Layers&#8221; and one called &#8220;Layer order.&#8221;  Each now has a checkbox to &#8220;Control rendering order&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I just downloaded the latest QGIS development build (1.9.90-9) and immediately noticed a significant change to the look of the layer legend pane. It now looks like this:</p>
<div id="attachment_1005" class="wp-caption aligncenter" style="width: 115px"><a href="http://darrencope.com/wp-content/uploads/2011/12/20111201_LayerRenderingOrder.png" rel="lightbox[1004]"><img class="size-medium wp-image-1005" title="Control Rendering Order" src="http://darrencope.com/wp-content/uploads/2011/12/20111201_LayerRenderingOrder-105x300.png" alt="Control Rendering Order" width="105" height="300" /></a><p class="wp-caption-text">Control Rendering Order</p></div>
<p>You&#8217;ll see that it is split into two panes, with one called &#8220;Layers&#8221; and one called &#8220;Layer order.&#8221;  Each now has a checkbox to &#8220;Control rendering order&#8221;</p>
<p>Essentially, the new functionality allows you to decouple the way layers are organized in the legend (&#8220;Layers&#8221; pane) from the order they are rendered (drawn) on the canvas (controlled via the &#8220;Layer order&#8221; pane.) This is really nice if you have complex maps with many layers and groups in the legend!</p>
<p>It still seems a bit buggy, but considering it just came out in last night&#8217;s nightly build, I&#8217;m not surprised! I&#8217;m looking forward to seeing this mature!</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/12/01/new-control-rendering-order-option-in-qgis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Map Books in QGIS</title>
		<link>http://darrencope.com/2011/11/22/map-books-in-qgis/</link>
		<comments>http://darrencope.com/2011/11/22/map-books-in-qgis/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 13:49:03 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=974</guid>
		<description><![CDATA[Have you ever wanted to automate the creation of a mapbook? Well, QGIS has a great plugin called EasyPrint that does just that! It makes the process simple and quick once you know how it works.  I&#8217;ll try to explain exactly that below! Installation: EasyPrint is written by Stefan Ziegler, who we all owe a [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to automate the creation of a mapbook? Well, <a title="Quantum GIS" href="http://www.qgis.org/">QGIS </a>has a great plugin called EasyPrint that does just that! It makes the process simple and quick once you know how it works.  I&#8217;ll try to explain exactly that below!</p>
<h2>Installation:</h2>
<p>EasyPrint is written by Stefan Ziegler, who we all owe a big thanks! You can install the plugin from the &#8220;Fetch Python Plugins&#8221; menu. If you don&#8217;t see it there, you may need to add the CatAIS Repository. To do so, go to &#8220;Plugins &gt; Fetch Python Plugins&#8221; and click the &#8220;Repositories&#8221; tab. At the bottom, click &#8220;Add 3rd party repositories,&#8221; then &#8220;OK.&#8221; Then switch back to the &#8220;Plugins&#8221; tab, and type&#8221;EasyPrint&#8221; in the search. You should have one result, which you should select before clicking &#8220;Install plugin.&#8221;</p>
<div id="attachment_975" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint1.png" rel="lightbox[974]"><img class="size-medium wp-image-975" title="EasyPrint in the Plugin Installer" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint1-300x188.png" alt="EasyPrint in the Plugin Installer" width="300" height="188" /></a><p class="wp-caption-text">EasyPrint in the Plugin Installer</p></div>
<p>Once the plugin is installed, you can enable it under the &#8220;Plugins &gt; Manage Plugins&#8221; menu if it is not already enabled. If the install was successful, you can access &#8220;EasyPrint&#8221; in your plugins menu, or via the toolbar icon that looks like this:</p>
<div id="attachment_976" class="wp-caption aligncenter" style="width: 47px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint2.png" rel="lightbox[974]"><img class="size-full wp-image-976" title="EasyPrint Icon" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint2.png" alt="EasyPrint Icon" width="37" height="34" /></a><p class="wp-caption-text">EasyPrint Icon</p></div>
<p>If you already have the plugin installed, you may want to see if there&#8217;s an updated version&#8211;the new version seems to increase stability quite a bit!</p>
<h2>Functionality:</h2>
<p>EasyPrint has several functions. When you click the icon, you&#8217;ll get a three-tabbed interface that looks like this:</p>
<div id="attachment_977" class="wp-caption aligncenter" style="width: 422px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint3.png" rel="lightbox[974]"><img class="size-full wp-image-977" title="EasyPrint GUI" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint3.png" alt="EasyPrint GUI" width="412" height="625" /></a><p class="wp-caption-text">EasyPrint GUI</p></div>
<p>The first tab, &#8220;SimpleMap&#8221; allows you to create a one-page map, very similar to the standard QGIS Composer window. It uses layouts that come with EasyPrint or one that you can customize (more about that later.) In fact, this option even opens the EasyPrint layout in the composer window. To me, this tab seems unneccessary, because this process is more difficult than using the standard composer. Thus, I don&#8217;t see a real need for the SimpleMap option at all, except that it lets you quickly turn on or off things like the grid, copyright, etc. via checkbox rather than adding or removing them from a layout. However, it&#8217;s important to note that the next two tabs will use some of the settings from this first tab, so make sure you note them and set them appropriately.</p>
<p>Where EasyPrint really shines is in the ability to automate the creation of multi-page map books, rather than just simple maps. The second tab, &#8220;Mapbook by grid&#8221; allows you to print one page per &#8217;tile&#8217; based on a grid it will create. Make sure to set the scale you want your maps to be created at by choosing it on the first tab. EasyPrint will use the extent of the layer you choose under &#8220;Map layer&#8221; when creating the grid. I found this a bit confusing, and it took me a while to figure it out. You can also tell EasyPrint if you want to print all grid tiles (Regular Grid,) or only tiles that actually contain features on your chosen map layer (Regular Grid w/o empty grids option). If you select the &#8216;w/o empty grid&#8217; option, EasyPrint will check if there is a feature present in &#8220;Map Layer&#8221; you have selected, and if so, create a page for that map tile. If not, it will skip it and move to the next tile. Once you&#8217;ve set these options appropriately, hit &#8220;Create.&#8221; You&#8217;ll see a new layer called &#8220;Mapbook Grid&#8221; appear in the layer legend as EasyPrint creates the grid. Note that this is where EasyPrint often crashes for me, throwing a fun Python Error. Save your work before hitting &#8216;Create&#8217; and just try try it again. It almost always works the second time! Once the grid is created, it&#8217;s as simple as selecting any of the optional parameters, and telling EasyPrint where to export your file(s). Then hit &#8220;OK&#8221; and wait for your .pdf(s) to be created!</p>
<p>Here&#8217;s a quick example of a mapbook created using the &#8220;Regular Grid&#8221; function. Note that tile 2.1 is empty, and would have been skipped if I had selected &#8220;Regular Grid w/o empty grid&#8221;)</p>
<div id="attachment_980" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-0.png" rel="lightbox[974]"><img class="size-medium wp-image-980" title="Page 1" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-0-300x211.png" alt="Page 1" width="300" height="211" /></a><p class="wp-caption-text">Page 1</p></div>
<div id="attachment_981" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-1.png" rel="lightbox[974]"><img class="size-medium wp-image-981" title="Page 2" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-1-300x211.png" alt="Page 2" width="300" height="211" /></a><p class="wp-caption-text">Page 2</p></div>
<div id="attachment_982" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-2.png" rel="lightbox[974]"><img class="size-medium wp-image-982" title="Page 3" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-2-300x211.png" alt="Page 3" width="300" height="211" /></a><p class="wp-caption-text">Page 3</p></div>
<div id="attachment_983" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-3.png" rel="lightbox[974]"><img class="size-medium wp-image-983" title="Page 4" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-3-300x211.png" alt="Page 4" width="300" height="211" /></a><p class="wp-caption-text">Page 4</p></div>
<div id="attachment_984" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-4.png" rel="lightbox[974]"><img class="size-medium wp-image-984" title="Page 5" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-4-300x211.png" alt="Page 5" width="300" height="211" /></a><p class="wp-caption-text">Page 5</p></div>
<p>&nbsp;</p>
<div id="attachment_987" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-51.png" rel="lightbox[974]"><img class="size-medium wp-image-987" title="Page 6" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-51-300x211.png" alt="Page 6" width="300" height="211" /></a><p class="wp-caption-text">Page 6</p></div>
<div id="attachment_988" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-6.png" rel="lightbox[974]"><img class="size-medium wp-image-988" title="Page 7" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Grid-6-300x211.png" alt="Page 7" width="300" height="211" /></a><p class="wp-caption-text">Page 7</p></div>
<p>The third tab, &#8220;Mapbook by feature&#8221; is the one that drew me to the tool in the first place. It works similarly to the &#8220;Mapbook by Grid&#8221; tab, but rather than creating tiles at a fixed scale in a grid pattern, it creates a sheet for each individual feature in a layer. The scale will vary based on the size of the feature, and you can set the amount of &#8216;buffer&#8217; space around each feature to give some context to each map. You can also choose attributes from the table to use as titles and subtitles, and these will change on every page. Sweet!</p>
<p>Here&#8217;s an example of the same dataset shown above, but using the &#8220;Mapbook by feature&#8221; tab this time. Note that it only creates a page for each of the three features, and the scale varies depending on the feature size. Also note the titles, which change on each page based on data in the attribute table. In my case, they are the very useful (&#8220;One,&#8221; &#8220;Two,&#8221; and &#8220;Three&#8221;) Pretty slick!</p>
<div id="attachment_990" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-0.png" rel="lightbox[974]"><img class="size-medium wp-image-990" title="Page 1" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-0-300x211.png" alt="Page 1" width="300" height="211" /></a><p class="wp-caption-text">Page 1</p></div>
<div id="attachment_991" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-1.png" rel="lightbox[974]"><img class="size-medium wp-image-991" title="Page 2" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-1-300x211.png" alt="Page 2" width="300" height="211" /></a><p class="wp-caption-text">Page 2</p></div>
<div id="attachment_992" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-2.png" rel="lightbox[974]"><img class="size-medium wp-image-992" title="Page 3" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-2-300x211.png" alt="Page 3" width="300" height="211" /></a><p class="wp-caption-text">Page 3</p></div>
<div id="attachment_993" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-3.png" rel="lightbox[974]"><img class="size-medium wp-image-993" title="Page 4" src="http://darrencope.com/wp-content/uploads/2011/11/EasyPrint_By_Feature-3-300x211.png" alt="Page 4" width="300" height="211" /></a><p class="wp-caption-text">Page 4</p></div>
<h2>Layouts:</h2>
<p>By default, EasyPrint comes with three layouts. Unfortunately, they are not very useful for anyone except the person who created them! Thus, you&#8217;ll very likely want to create and use your own. Because this post is getting long, and because I&#8217;m still playing with the layout customization, I will leave that topic for a new post! It&#8217;s (unfortunately) not a super user friendly process, so I&#8217;ll try to break it down in the next post. Stay tuned! (If you want to get started earlier than that, take a poke at layouts.xml in your \user\.qgis\python\plugins\easyprint\layouts\ folder!)</p>
<h2>Conclusion:</h2>
<p>This is a fantastic plugin! Despite crashing occasionally (save your Project often!) it does a great job when it works.</p>
<p>My wish list for this one is pretty short right now. Basically, I&#8217;d love to see this map book creation functionality built into the core Composer window in QGIS, or at the very least have the EasyPrint plugin extended to include support for templates created via the composer. Some modifications to &#8216;intuitiveness&#8217; (like not using settings from the first tab on subsequent tabs) would be nice, but not critical. It all works once you get the hang of it!</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/11/22/map-books-in-qgis/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tour de Brew &#8211; Part V</title>
		<link>http://darrencope.com/2011/11/13/tour-de-brew-part-v/</link>
		<comments>http://darrencope.com/2011/11/13/tour-de-brew-part-v/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 02:18:42 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[Cycling]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=940</guid>
		<description><![CDATA[While waiting for our Thai takeout in Burlington box mall hell on Saturday night, we took a visit to a book shop. In the book shop, we found a copy of the book Backroad Bicycling In Vermont which we flipped through. Despite some very odd advice (never make a left turn???) the book contained some [...]]]></description>
			<content:encoded><![CDATA[<p>While waiting for our Thai takeout in Burlington box mall hell on Saturday night, we took a visit to a book shop. In the book shop, we found a copy of the book <a href="http://www.amazon.ca/gp/product/0881506923/ref=as_li_ss_tl?ie=UTF8&amp;tag=darcop-20&amp;linkCode=as2&amp;camp=15121&amp;creative=390961&amp;creativeASIN=0881506923">Backroad Bicycling In Vermont</a><img class=" eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh eilgsqnzsrclyimralyh zdtdnqwcuivcwzpbmhfq zdtdnqwcuivcwzpbmhfq zdtdnqwcuivcwzpbmhfq abvuwommciwzsoqgdere abvuwommciwzsoqgdere abvuwommciwzsoqgdere" style="border: none !important; margin: 0px !important;" src="http://www.assoc-amazon.ca/e/ir?t=darcop-20&amp;l=as2&amp;o=15&amp;a=0881506923" alt="" width="1" height="1" border="0" /> which we flipped through. Despite some very odd advice (never make a left turn???) the book contained some interesting route ideas. One of them started in Jeffersonville, and went North, missing most of the big hills. This looked ideal for an &#8216;easy&#8217; day on Sunday, so we noted the route and planned on riding it the next day.</p>
<p>Sunday morning, we took the quick drive from the cabin down to a car pool parking lot on the 104 near Cambridge. It was <em>hot</em> again, so we slathered on the sunscreen and loaded up with water. The ride started off with some excitement&#8211;very shortly after we left, we came across a &#8216;playful&#8217; pitbull puppy. The owners were in their front yard raking or something, and the dog was off-leash. He immediately came after us&#8211;just a puppy, but still a pit bull! He wasn&#8217;t sure what to make of cyclists, so we were very cautious. He kept coming, baring teeth and heading for the heels as we pedaled. At one point, I even came to a stop and put my hand out to calm him down, but he only growled and backed off a bit, unsure. The owners, naturally, were not very smart, yelling &#8220;Scooter, come back&#8221; and &#8220;Don&#8217;t worry, he won&#8217;t hurt you&#8221;  Of course, they weren&#8217;t being  chased by a pit bull with bared teeth, so&#8230;</p>
<p>We eventually got by the dog without injury and got our nerves settled. This happened just in time for a vicious (short but steep) climb. It gained 127m in 3.62km, for an average grade of 7% and a max of 12%. The downhill was nasty&#8211;twisty and turny, with some sections where road construction had left loose gravel on the road. To add to the excitement, Luke got stung by a bee on the descent, and casually mentioned that his sister has major allergic reactions, and that he &#8220;wasn&#8217;t sure&#8221; if he did or not (luckily he didn&#8217;t!) Also, the wind had started to pick up&#8211;the forecasted thunderstorm appeared to be on its way! Since the sky was looking very dark and the wind was very strong, we made a call to take cover&#8211;you never know what can happen in that kind of weather! The forecast had even called for inch-and-a-half hail, and flash flooding, so we didn&#8217;t want to take a chance. Luckily, there was a farm close by, so we went there. After knocking on the door and getting no answer, we decided to just wait out the storm in front of the garage. The wind really picked up, and the rain started. It was wild!  The owners of the farm drove up part-way through our stay, and looked at us quizzically.  However, after explaining the situation, they gave us the OK to wait out the storm in the garage. Luckily the hail never did come, and the storm blew by almost as quickly as it formed. We were back on the road again!</p>
<p>The route took us to Fairfield, where we stopped for a chat. It was decided that Luke, Shawn and Trent would take the road through Fairfield and across to the 108, while Matt and I would go further north, turning at Sheldon and cutting across to the 108 there. We split, planning to meet up at the cars at the end of the ride.  Matt and I absolutely <em>flew</em> to Sheldon&#8211;the road was almost all downhill, and there was no traffic to speak of. Amazing! Matt and I stopped at a general store in Sheldon and filled up on Gatorade. It was pretty damn hot and humid!</p>
<div id="attachment_955" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/20111113_NorthOfJeffersonville.jpg" rel="lightbox[940]"><img class="size-medium wp-image-955" title="Typical Scenery North of Jeffersonville" src="http://darrencope.com/wp-content/uploads/2011/11/20111113_NorthOfJeffersonville-300x225.jpg" alt="Typical Scenery North of Jeffersonville" width="300" height="225" /></a><p class="wp-caption-text">Typical Scenery North of Jeffersonville</p></div>
<p>The road across to the 108 was also very low traffic and nice&#8211;until it turned to gravel! We had not expected the gravel, and weren&#8217;t sure how long it would last. It was a bit rough, with some loose sections that were not ideal for skinny tires. We made it through, with some &#8216;back woods&#8217; moments as we went by some trailers with cars up on blocks out front. Quite the place to be out in spandex and &#8216;ballet shoes!&#8217; Once we hit the 108, we were back on pavement, and expecting a steady climb all the way back to the car (since the ride so far had been largely downhill.) Oddly enough, this was not the case, and the 108 had very few significant climbs. Unfortunately, however, the surface was not ideal&#8211;rough, with cracks and holes everywhere!</p>
<p>As Matt and I rode by a gas station, we noticed bikes leaning up against the wall&#8211;it was the guys! We quickly pulled in to the store. Turns out their route also had gravel (more than ours even) and Shawn had split a sidewall on a sharp piece. It took them some time to fix, and he was taking it easy since it was booted. Not nice! We went in the store for some water and a washroom key, and it turned out to be the coldest store in the universe. The air conditioning was cranked so cold that I could barely stand it long enough to get the key and get out! FREEZING!</p>
<p>We rode the rest of the way back as a group, and the road surface got worse as we went. I&#8217;ve never seen cracks like it in Ontario or even in Quebec&#8211;it was much worse than any road I&#8217;ve ridden, to the point of being very unsafe. Fortunately, we made it back without further incident! We ended up the day with a total of 82.2km in 3:02:44 (for an average of 26.91km/hr) and a gain of 942m.</p>
<div class="iframe-wrapper">
  <iframe src="http://js.mapmyfitness.com/embed/blogview.html?r=57616500&amp;amp;u=e&amp;amp;t=ride" frameborder="0" style="height:725px;width:450px;">Please upgrade your browser</iframe>
</div>
<p>Post ride, we went back to our favourite Vermont Liquor Depot in Jeffersonville to fill up on beer for the evening. While there, we asked a local their recommendation for pizza, and the pointed us the way to a local Jeffersonville shop, so Trent and Shawn went to put in an order. Beer and pizza in hand, we went back to the cabin to chill and eat. Then things got crazy&#8211;the second round of thunderstorms rolled in, and the mountains literally disappeared before our eyes as we watched the sheets of rain moving across the valley towards us. Storms in the mountains are intense!</p>
<div id="attachment_961" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/20111113_BeerAndPizza.jpg" rel="lightbox[940]"><img class="size-medium wp-image-961" title="Beer &amp; Pizza" src="http://darrencope.com/wp-content/uploads/2011/11/20111113_BeerAndPizza-300x225.jpg" alt="Beer &amp; Pizza" width="300" height="225" /></a><p class="wp-caption-text">Beer &amp; Pizza</p></div>
<p>Again, the storm passed pretty quickly and we resumed our beer and pizza. Luke was leaving to head back to Perth, so we said our goodbyes as he packed up. Then, just as Luke was leaving, the <em>third</em> round of storms rolled in. We hoped it would make it down the partly washed-out road from the cabin with no problems!  The porch sitting/pizza eating quickly turned into a scramble for shelter as the rain started hammering down again and the wind threatened to blow all of our hanging clothes away. Then, the power went out! This storm too passed quickly, but the power remained out save for a short blink to give us hope.</p>
<p>Beers for the day included one that turned out to be either my favourite or second favourite of the entire trip &#8211; <a title="Long Trail Double Bag" href="http://beeradvocate.com/beer/profile/94/273">Long Trail Double Bag</a>. There was also a couple of the <a title="Trout River Chocolate Oatmeal Stout" href="http://beeradvocate.com/beer/profile/814/2785">Trout River Chocolate Oatmeal Stout</a> quaffed, and very much enjoyed. Shawn had the <a title="Shock Top Raspberry Wheat" href="http://beeradvocate.com/beer/profile/29/67238">Shock Top Raspberry Wheat</a> which turned out to be one of his favourites of the trip.</p>
<p>The night&#8217;s entertainment included a surprise award ceremony that Trent had created&#8211;modeled after the <a title="TdF Jerseys" href="http://en.wikipedia.org/wiki/Tour_de_France#Classification_jerseys">jerseys of the Tour de France</a>. However, rather than jerseys, the awards were these guys:</p>
<div id="attachment_962" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/20111113_Awards.jpg" rel="lightbox[940]"><img class="size-medium wp-image-962" title="The 2011 Tour de Brew Awards!" src="http://darrencope.com/wp-content/uploads/2011/11/20111113_Awards-300x225.jpg" alt="The 2011 Tour de Brew Awards!" width="300" height="225" /></a><p class="wp-caption-text">The 2011 Tour de Brew Awards!</p></div>
<p>For the first time in history, the &#8216;yellow jersey&#8217; was awarded to two people&#8211;both Matt and Shawn shared the honours. I took home the polka dots, Luke the Best Young Rider, and Trent the Green. I&#8217;m not sure what the little elephant was even for, or who won it&#8230;perhaps the guys can refresh my memory?</p>
<p>Part VI will be coming soon and will likely finish off the story of the 2011 Tour de Brew &#8211; stay tuned!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/11/13/tour-de-brew-part-v/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<series:name><![CDATA[Tour de Brew]]></series:name>
	</item>
		<item>
		<title>QGIS Diagrams &#8211; Pie Charts for Symbols!</title>
		<link>http://darrencope.com/2011/11/01/qgis-diagrams-pie-charts-for-symbols/</link>
		<comments>http://darrencope.com/2011/11/01/qgis-diagrams-pie-charts-for-symbols/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 12:21:27 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=912</guid>
		<description><![CDATA[QGIS has a great feature that allows you to create pie charts for feature symbols! I have known about it for a while, but never really had the opportunity or reason to play with it. However, this post on gis.stackexchange.com prompted me to take a look. Here&#8217;s a quick summary of how the &#8216;Diagrams&#8217; functionality [...]]]></description>
			<content:encoded><![CDATA[<p>QGIS has a great feature that allows you to create pie charts for feature symbols! I have known about it for a while, but never really had the opportunity or reason to play with it. However, <a title="How to place multiple symbols on one polygon centroid?" href="http://gis.stackexchange.com/questions/16154/how-to-place-multiple-symbols-on-one-polygon-centroid">this post</a> on gis.stackexchange.com prompted me to take a look. Here&#8217;s a quick summary of how the &#8216;Diagrams&#8217; functionality works in case you&#8217;re like me and haven&#8217;t had time to check it out! It&#8217;s easy to do, and works pretty well!</p>
<p>As an example, I created a random sample dataset with some fictitious data. It contained three points, and the attribute table looked like this:</p>
<div id="attachment_922" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/20111101_PieChartTable.png" rel="lightbox[912]"><img class="size-medium wp-image-922" title="Attribute Table" src="http://darrencope.com/wp-content/uploads/2011/11/20111101_PieChartTable-300x96.png" alt="Attribute Table" width="300" height="96" /></a><p class="wp-caption-text">Attribute Table</p></div>
<p>To create a diagram symbol, go to the properties for the layer in question, and click the &#8220;Diagrams&#8221; tab at the top, then check off &#8220;Display Diagrams&#8221; and set Diagram type to &#8220;Pie Chart.&#8221; You can also use &#8220;Text Diagram&#8221; but that&#8217;s another post!</p>
<p>You can set either a fixed size, or scale the size of the charts to an attribute value range. This is useful if you are wanting to use the <em>size</em> of the symbol to indicate a value, and the &#8216;slices&#8217; to indicate percentages. In my case, I set the size to &#8217;23&#8242; and set it to scale between 0 and 30mm. This is arbitrary in my case, but you can play with it using your own data to see what works best for you.</p>
<p>At the bottom under &#8220;Attributes,&#8221; select each attribute you want to form a &#8216;slice&#8217; of the pie, and click the &#8216;+&#8217; on the right. Then select the next value, and click &#8216;+.&#8217;  Repeat until you are finished adding all values. In my case, I added attributes A, B, C, and D. I didn&#8217;t want to use the ID, so I left it out. You can set individual colours for each &#8216;slice&#8217; here by double clicking the colour in the table. Here&#8217;s what my settings looked like:</p>
<div id="attachment_916" class="wp-caption aligncenter" style="width: 264px"><a href="http://darrencope.com/wp-content/uploads/2011/11/20111101_PieChartSettings.png" rel="lightbox[912]"><img class="size-medium wp-image-916" title="Pie Chart Settings" src="http://darrencope.com/wp-content/uploads/2011/11/20111101_PieChartSettings-254x300.png" alt="Pie Chart Settings" width="254" height="300" /></a><p class="wp-caption-text">Pie Chart Settings</p></div>
<p>and here&#8217;s here what the final product looks like:</p>
<div id="attachment_917" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/11/20111101_PieChartResult.png" rel="lightbox[912]"><img class="size-medium wp-image-917" title="Final Result" src="http://darrencope.com/wp-content/uploads/2011/11/20111101_PieChartResult-300x236.png" alt="Final Result" width="300" height="236" /></a><p class="wp-caption-text">Final Result</p></div>
<p>This is already a great tool, and with a few more enhancements, it will be a <em>fantastic</em> tool! What enhancements you wonder? A couple that immediately come to mind are the ability to label &#8216;slices&#8217; with either their attribute value, or their percentage, and the ability to remove all borders (in the above example, &#8216;Pen Width&#8217; is set to 0, but it still shows a border. Weird.)</p>
<p>What features would you like to see?</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/11/01/qgis-diagrams-pie-charts-for-symbols/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Perth Cyclocross &#8211; Back for a second year!</title>
		<link>http://darrencope.com/2011/10/28/perth-cyclocross-back-for-a-second-year/</link>
		<comments>http://darrencope.com/2011/10/28/perth-cyclocross-back-for-a-second-year/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 13:55:00 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=907</guid>
		<description><![CDATA[The Ottawa Bicycle Club is returning to host a morning of cyclocross racing in Perth!  The Perth race is race number seven of the ten race series being held this fall throughout the Ottawa Valley. Cyclocross is the fastest growing discipline in cycling, with popularity skyrocketing worldwide. Specialized cyclocross bikes (think of a road bike [...]]]></description>
			<content:encoded><![CDATA[<p>The Ottawa Bicycle Club is returning to host a morning of cyclocross racing in <a title="Perth, ON" href="http://g.co/maps/wmx3z">Perth</a>!  The Perth race is race number seven of the ten race series being held this fall throughout the Ottawa Valley.</p>
<p>Cyclocross is the fastest growing discipline in cycling, with popularity skyrocketing worldwide. Specialized cyclocross bikes (think of a road bike with mountain bike tires) are used as racers ride on grassy fields, dismount their bikes and carry them over barriers, run up steep, short hills and ride through sand pits or mud depending upon conditions!</p>
<p>Races are very spectator friendly, presenting many opportunities to see the action up close and personal!</p>
<p>The racing in Perth will occur on Sunday, November 6 at <a title="Conlon Farm Recreation Complex" href="http://g.co/maps/wmx3z">Conlon Farm Recreation Complex</a>. Come on out to cheer on some of the best racers in Canada (including current and former National and Provincial champions!)  Races start at 9am (for U17 and younger, Women, Masters B Men and older &amp; Novices) with the second race starting at 10:45am (Elite Men, Masters A Men &amp; Junior Men.)</p>
<p>For more information on the races, go to <a title="www.cyclocross.org" href="http://www.cyclocross.org/" target="_blank">www.cyclocross.org</a>, or call race organizer Bob Woods at <a href="tel:613-256-1874" target="_blank">613-256-1874</a>.  Or, just make your way to Conlon Farm on Sunday, November 6! If you&#8217;re interested in racing yourself, see the website for registration details.</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/10/28/perth-cyclocross-back-for-a-second-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tour de Brew &#8211; Part IV</title>
		<link>http://darrencope.com/2011/10/20/tour-de-brew-part-iv/</link>
		<comments>http://darrencope.com/2011/10/20/tour-de-brew-part-iv/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 23:31:17 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[Cycling]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=899</guid>
		<description><![CDATA[My last post talked about our awesome ride up the Appalachian Gap on Saturday. You can read that here, and earlier posts here. Post Appalachian Gap, we headed to the &#8216;big city&#8217; for a tour of the Magic Hat Brewery in Burlington. Right away, we noticed that the place was jammed. We could barely find [...]]]></description>
			<content:encoded><![CDATA[<p>My <a title="Tour de Brew - Part III" href="http://darrencope.com/2011/10/14/tour-de-brew-%e2%80%93-part-iii/">last post </a>talked about our awesome ride up the Appalachian Gap on Saturday. You can read that <a title="Tour de Brew - Part III" href="http://darrencope.com/2011/10/14/tour-de-brew-%e2%80%93-part-iii/">here</a>, and earlier posts <a title="Tour de Brew" href="http://darrencope.com/series/tour-de-brew/">here</a>.</p>
<p>Post Appalachian Gap, we headed to the &#8216;big city&#8217; for a tour of the <a title="Magic Hat Brewery" href="www.magichat.net">Magic Hat Brewery</a> in Burlington. Right away, we noticed that the place was <em>jammed.</em> We could barely find a parking spot, and there was a BBQ going on outside the door! We finally got parked, and made our way into the &#8216;gift shop&#8217; portion of the brewery. The place was packed with people! There&#8217;s a long bar across one whole side of the room, and all of the beers they brew at Magic Hat are on tap for free sample. Amazing! Trent commented that he&#8217;s never seen a brewery so busy, and he&#8217;s been on tours of breweries and distilleries all around the world! Magic Hat is definitely doing something right in the marketing and &#8216;company culture&#8217; department!</p>
<p>Because the place was so busy, we decided to make our way to the front of the line for the next free tour (they go hourly) and avoid the rush at the bar. The tour was interesting, although we didn&#8217;t get to check out the actual production floor&#8211;we only saw it from above, where the tour concluded on a balcony overlooking the floor. It&#8217;s not quite what I would expect from a &#8216;micro&#8217; brewery&#8211;their line puts out 400 bottles/minute, and 50-60 kegs/hour. That&#8217;s a lot of beer! Obviously not on the same level as a Molson or Labatt, but still more than a &#8216;micro&#8217; in my opinion.</p>
<p>Post-tour, we headed back to the bar to test, taste and sample. <a title="Magic Hat #9" href="http://beeradvocate.com/beer/profile/96/299">#9,</a> <a title="Magic Hat Circus Boy" href="http://beeradvocate.com/beer/profile/96/28536">Circus Boy</a>, <a title="Magic Hat Single Chair" href="http://beeradvocate.com/beer/profile/96/2374">Single Chair</a>, <a title="Magic Hat Hi.P.A." href="http://beeradvocate.com/beer/profile/96/9873">Hi.P.A.</a>, <a title="Magic Hat Blind Faith" href="http://beeradvocate.com/beer/profile/96/298">Blind Faith</a>, <a title="Magic Hat Humble Patience" href="http://beeradvocate.com/beer/profile/96/1387">Humble Patience</a>; oh my! I don&#8217;t recall specifics on any of the beers, except for #9 which I stocked up on before we left the state. It&#8217;s a beautiful, slightly apricot-tinted &#8216;not-quite-pale&#8217; ale that I quite enjoyed! The rest of the beers were good, but none really made much of an impression on me. Of course, without more time to sit and enjoy each (in a larger than sample size quantity&#8230;) it&#8217;s hard to say for sure! I&#8217;d be more than willing to give any of them another try of course :)</p>
<p>Post-tour, we headed to box-mall hell to grab some Thai take out, and then back to the cabin for dinner and more beer. A selection of the nights samplings:</p>
<div id="attachment_901" class="wp-caption aligncenter" style="width: 310px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111021_Beers.jpg" rel="lightbox[899]"><img class="size-medium wp-image-901" title="The selection for the night" src="http://darrencope.com/wp-content/uploads/2011/10/20111021_Beers-300x225.jpg" alt="The selection for the night" width="300" height="225" /></a><p class="wp-caption-text">The selection for the night</p></div>
<p>The <a title="Long Trail Blackbeary Wheat" href="http://beeradvocate.com/beer/profile/94/3636">Black<em>beary </em>Wheat</a> from Long Trail was one of my favourites of the trip. The Peak Organics was popular all around, and we tried several different varieties. I still think that their Maple Oat was the best of the trip, although the <a title="Long Trail Double Bag" href="beeradvocate.com/beer/profile/94/273">Double Bag</a> is a very close second (possibly first, depending on my mood at the time&#8230;)</p>
<p>The beer, hot tub, games and sleep wrapped up another successful, busy day, both on the bike and off. The morning would bring a &#8216;north of Jeffersonville&#8217; route to mix things up, and to give the legs a rest from the big hills. The story of that ride will be coming up next!</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/10/20/tour-de-brew-part-iv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Tour de Brew]]></series:name>
	</item>
		<item>
		<title>QGIS Topological Editing</title>
		<link>http://darrencope.com/2011/10/19/qgis-topological-editing/</link>
		<comments>http://darrencope.com/2011/10/19/qgis-topological-editing/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 13:00:14 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=845</guid>
		<description><![CDATA[As we all know, there&#8217;s almost always more than one way to do something! In a previous post (QGIS Trace Edit Tool) I discussed how to use QGIS&#8217; trace edit plugin to create a polygon adjacent to an existing polygon while ensuring that it is topologically correct. With a bit more experimentation, I&#8217;ve found a [...]]]></description>
			<content:encoded><![CDATA[<p>As we all know, there&#8217;s almost always more than one way to do something!</p>
<p>In a previous post (<a title="QGIS Trace Edit Tool" href="http://darrencope.com/2011/10/13/qgis-trace-edit-tool/">QGIS Trace Edit Tool</a>) I discussed how to use QGIS&#8217; trace edit plugin to create a polygon adjacent to an existing polygon while ensuring that it is topologically correct. With a bit more experimentation, I&#8217;ve found a better and easier way to perform the same task, using QGIS&#8217; built-in topological editing functions. It&#8217;s easy and super convenient!</p>
<p>The key is that you&#8217;ll need to go to Settings &gt; Snapping Options and enable the &#8220;Avoid Int.&#8221;  checkbox. (The mouseover reads &#8220;Avoid intersections of new polygons&#8221; and the checkbox doesn&#8217;t appear for lines or points, since it doesn&#8217;t apply.)</p>
<div id="attachment_846" class="wp-caption aligncenter" style="width: 456px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology4.png" rel="lightbox[845]"><img class="size-full wp-image-846  " title="Enable &quot;Avoid Intersections&quot;" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology4.png" alt="Enable &quot;Avoid Intersections&quot;" width="446" height="257" /></a><p class="wp-caption-text">Enable &quot;Avoid Intersections&quot;</p></div>
<p>You can then digitize a polygon beside existing polygons, and have the new feature &#8216;clipped&#8217; to the boundary. This is faster than using the trace edit plugin like I mentioned before, and it also ensures that no vertices are missed! Fantastic! How about we walk through an example? Pretend we had these existing features:</p>
<div id="attachment_847" class="wp-caption aligncenter" style="width: 438px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology1.png" rel="lightbox[845]"><img class="size-full wp-image-847   " title="Existing Features" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology1.png" alt="Existing Features" width="428" height="377" /></a><p class="wp-caption-text">Existing Features</p></div>
<p>Now, let us pretend we want to draw a polygon that fills in the hole in the middle. We could simply set our snapping options, zoom way in, and try to snap to every vertex using the standard edit tool. Or, we could use the trace edit tool, and &#8216;trace&#8217; around the boundary while holding the Ctrl key. OR, we could set the &#8220;Avoid intersection&#8221; option as shown above, and just quickly sketch in the boundary like so:</p>
<div id="attachment_848" class="wp-caption aligncenter" style="width: 438px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology2.png" rel="lightbox[845]"><img class="size-full wp-image-848   " title="New feature boundary" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology2.png" alt="New feature boundary" width="428" height="377" /></a><p class="wp-caption-text">New feature boundary</p></div>
<p>The red feature above is what I drew in. No need to go carefully, or try to snap to anything. Just roughly sketch in the area I want. Topology rules take care of the rest, clipping the feature to the existing boundary when I finish my sketch. The final product looks like this:</p>
<div id="attachment_849" class="wp-caption aligncenter" style="width: 438px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology3.png" rel="lightbox[845]"><img class="size-full wp-image-849   " title="Finished Product" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_Topology3.png" alt="Finished Product" width="428" height="377" /></a><p class="wp-caption-text">Finished Product</p></div>
<p>Voila! It&#8217;s just that easy! I quickly (not precisely at all) drew in the rough shape required, and ended up with a perfectly topologically correct feature that follows the existing boundary exactly. No need to snap or trace anything! Sweet!</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/10/19/qgis-topological-editing/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tour de Brew – Part III</title>
		<link>http://darrencope.com/2011/10/14/tour-de-brew-%e2%80%93-part-iii/</link>
		<comments>http://darrencope.com/2011/10/14/tour-de-brew-%e2%80%93-part-iii/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 23:45:53 +0000</pubDate>
		<dc:creator>darrencope</dc:creator>
				<category><![CDATA[Cycling]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://darrencope.com/?p=865</guid>
		<description><![CDATA[Yes, updates are few and far between. My apologies. For those keeping track, I&#8217;m still working on documenting our trip to Vermont for &#8220;Tour de Brew 2011.&#8221; Check out the rest of the story here. I left off talking about our hike up Mt. Mansfield, and our encounter with momma moose and her baby. I [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, updates are few and far between. My apologies.</p>
<p>For those keeping track, I&#8217;m still working on documenting our trip to Vermont for &#8220;Tour de Brew 2011.&#8221; Check out the rest of the story <a title="Tour de Brew" href="http://darrencope.com/series/tour-de-brew/">here</a>.</p>
<p>I left off talking about our hike up Mt. Mansfield, and our encounter with momma moose and her baby. I realized I had failed to mention our Friday night dinner at <a title="The Shed - Beer Advocate" href="http://beeradvocate.com/beer/profile/1608/?view=beerfly">The Shed</a>, where we had a decent meal, and their &#8216;ski of beer&#8217; &#8211; a sampler of six of their own beers served on an old wooden ski. Pretty cool!</p>
<div class="wp-caption aligncenter" style="width: 570px"><a href="http://www.vthomebrewguru.com/tag/the-shed-brewery/"><img class="   " title="Ski of Beer" src="http://www.vthomebrewguru.com/cms/wp-content/uploads/2011/07/shedski.jpg" alt="Ski of Beer" width="560" height="420" /></a><p class="wp-caption-text">Ski of Beer* Not my photo - thanks to HomeBrew Guru for this shot</p></div>
<p>We were not super impressed with the beer itself, although they seemed to get better the further down the ski we got. I&#8217;m not sure if the later beers were actually better beers, or if our judgement was perhaps clouded? The stout was quite nice, as was their seasonal which I believe was an Irish Red. Either way, this was the least impressive Vermont beer we had the whole trip.</p>
<p>Saturday was to be a big day. We were going to meet up with Luke and Allan (Luke&#8217;s brother-in-law) for a ride up the Appalachian Gap. I was a bit worried, but after our success on Smuggler&#8217;s Notch, I was no longer scared of the big mountains. I knew it was all doable!  We drove to Richmond, were we met Luke and Allan. Luke had driven all night to arrive at his sister&#8217;s place, and was now ready to join us for some rides (and beer!)</p>
<p>The ride out of Richmond was painful. It was nothing compared to the Notch, but still a big climb for us! The first 3.2 km gained 95m, averaging 6% with a max of 10%,.  The legs were not used to this kind of effort, especially after what they had been through the day before, and were protesting the ride this morning! Luckily, the next 2km was downhill, and gave us a bit of a rest and recovery so the legs could warm up. This was good, as I started to feel strong again, and was all I needed to be ready for the climb! Of course, the climb came soon enough, as km 6 to km 29 was all uphill!</p>
<p>Oddly enough, we started meeting folks on the side of the road who were cheering for us:</p>
<blockquote><p>&#8220;Good job guys!&#8221;</p>
<p>&#8220;Way to go, keep it up!&#8221;</p></blockquote>
<p>We thought that perhaps the locals were just really friendly to cyclists here&#8230;however, we then started to see signs along the road:  &#8220;Bike race Saturday.&#8221; Hmm&#8230;  Soon, we rolled past a feed zone &#8211; people ready to hand us bottles and everything. Gee.. I wonder. Could we be <em>on the course</em> during <a title="The Green Mountain Stage Race" href="www.gmsr.info">The Green Mountain Stage Race</a>? Turns out that yes, yes we were. Shortly after the feed zone, I heard Luke announce &#8220;Riders back&#8221; &#8211; we were about to be passed by some racers! Two riders came by us. Slowly. One guy was clearly banged up from a crash, and we were certain they were off the back of the group. Good&#8211;we didn&#8217;t really want to be on the road when the peloton came by!</p>
<p>Despite our painfully slow pace, the guys that passed us didn&#8217;t get too far ahead. In fact, they were catching another lone rider, and we then passed two of them again. At this point, I had to stop, as I thought my cleat was coming loose. We stopped and I checked my cleat (it was fine&#8230;weird&#8230;) and the racers passed us again. However, we saddled back up, and very shortly were caught up to them again. Wow.. these guys must be shattered, since we were only averaging 27km/hr or so, and there were <em>racing</em> even slower than that.</p>
<p>We got to the main turnoff where the &#8216;real climb&#8217; begins, (about 24km from Richmond) and the racers went right, while we went left. The racers didn&#8217;t seem sure where to go, and almost followed us. I guess it looked like we knew what we were doing! I loudly announced &#8220;We are not in the race, and do not know where the course goes. Please follow us at your own risk.&#8221; I hope they went the right way!</p>
<p>I say that the &#8216;real climb&#8217; started at km 24, which is true. However, kilometers 6 through 24 gain 234m, with an average grade of 3% and a max of 8%. Not exactly flat!</p>
<p>The &#8220;real climb&#8217; up Appalachian Gap begins at Gore Rd. and 17, and from there climbs a total of 340m in 4.34km. This gives an average of 8%, with a max of 18% near the top. Yes, 18%! Oh, and there&#8217;s <em>no</em> reprieve. The total downhill in this whole stretch? Zero (yes, 0) meters. None.</p>
<p>Our little group got smashed apart pretty quickly. Soon it was Allan and I, with Matt just behind me. Then, Allan opened a gap on me, and I couldn&#8217;t close it. I settled into my own pace, rather than trying to match Allan tapping away on his compact crank. At one point, the road leveled off a bit, and I actually went <em>sur la plaque</em> (see <a title="The Lexicon" href="http://www.velominati.com/blog/the-lexicon/#sur+la+plaque">here</a>) just to mix it up. It actually felt <em>good</em>. Oh boy. &#8220;I think I like these big climbs&#8221; I thought to myself, as I powered up 100m or so in the big ring. Then, back to the 39, and keep on trucking. I noticed that as I approached the top (where it was exactly, I wasn&#8217;t sure, I just knew it couldn&#8217;t go up <em>forever</em>&#8230;) I was closing in on Allan again. We then hit the last 600m or so; what Allan had called &#8220;The Wall&#8221; in our chats about the ride. This last 600m averages 11%, and is where that fun little 18% pitch I told you about also resides. Lovely! It took me (literally) <em>3 minutes</em> to go 600m. <em>Three minutes!  </em>That&#8217;s an average speed of 12.3km/hr. Ouch. However, I made it! And I had closed the gap to Allan down to only 10 or 20m by the line. Nice!</p>
<div id="attachment_876" class="wp-caption aligncenter" style="width: 503px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap1.jpg" rel="lightbox[865]"><img class="size-full wp-image-876 " title="The Gang at the top of the Appalachian Gap" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap1.jpg" alt="The Gang at the top of the Appalachian Gap" width="493" height="370" /></a><p class="wp-caption-text">At the top of &quot;App Gap&quot; (l-r: Allan, Shawn, Me, Trent, Matt, Luke)</p></div>
<p>The rest of the guys had their own epic battles on the way up. Matty, followed by Trent, followed by Shawn. We took some photos, then decided to split. Allan, Trent and Shawn went back the way we came up, and Matt, Luke and I headed for a bit of a longer ride, descending down the opposite side of the Gap. This was super fun, but again made my poor descending skills evident.  Max speed was 73.47km/hr for me, while the others were much faster, opening a huge gap on me on the descent. The descent itself was about 14km long (!), and dropped 507m with an average grade of -5%, and a max (minimum?) of -13%. Some of the switchbacks were super fun, and on one the <em>left hand</em> shoulder was a full lane wide, with lots of visibility. I took the whole thing, and ended up on on the left side edge of the left shoulder&#8211;basically 3 full lanes from the right side of the road, and just flying! I do not recommend this of course, but&#8230;it&#8217;s a calculated risk! Obviously this is insane if there is no visibility!</p>
<div id="attachment_884" class="wp-caption aligncenter" style="width: 538px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap2.jpg" rel="lightbox[865]"><img class="size-full wp-image-884" title="Yes, we came from down there" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap2.jpg" alt="Yes, we came from down there" width="528" height="704" /></a><p class="wp-caption-text">Yes, we came from down there!</p></div>
<p>Our route back to Richmond took us from 17, onto the 100 into Waterbury. Our original plan (pre-flooding) was to make <a title="The Alchemist" href="http://www.alchemistbeer.com/">The Alchemist</a> a starring role in the <em>brew</em> portion of Tour de Brew. However, the flooding hit it hard, and it was closed for business during our trip. Riding through Waterbury was an experience. Matt flatted just before we got out of town (no doubt on some of the debris from the flooding) so we had a chance to see the damage in some detail.  It looked like a war zone! Dumpsters lining the streets, the entire community out pitching in to clean up&#8230; entire houses full of drywall, insulation, and worldly possessions piled up in moldy heaps at the ends of driveways. People wearing dust masks while walking down the street. Not a good scene! However, it was great to see people pitching in and working together to clean up the community! And good news for beer lovers&#8211;it looks like The Alchemist is rebuilding to be bigger and better than ever, so perhaps it <em>will </em>have a starring role in Tour de Brew 2012!</p>
<div id="attachment_887" class="wp-caption aligncenter" style="width: 714px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap3.jpg" rel="lightbox[865]"><img class="size-full wp-image-887" title="The Alchemist cleaning up post-Irene" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap3.jpg" alt="The Alchemist cleaning up post-Irene" width="704" height="528" /></a><p class="wp-caption-text">The Alchemist cleaning up post-Irene</p></div>
<p>The remainder of our ride took us on 2 back to Richmond, where we met the guys at <a title="On The Rise" href="http://www.ontherisebakery.net/">On The Rise Bakery</a> for some great grub and yes, even beer. Epic mountain passes, and beer on tap <em>at the bakery?!?</em> Am I in heaven? I had a half-pint of <a title="Switchback Ale" href="http://beeradvocate.com/beer/profile/5691/11960">Switchback Ale</a>, which I enjoyed greatly! Although, even a Bug Light probably would have tasted good after the ride we&#8217;d just finished! While at the bakery, we firmed up plans for our afternoon&#8211;a tour of the <a title="Magic Hat Brewery" href="http://www.magichat.net/">Magic Hat Brewery</a>. Oh ya! That will be Part IV of the story!</p>
<p>Our epic Appalachian Gap ride ended up with 83.58km in a total of 3:06:04 for an average speed of 26.95km/hr. Our total climb over the entire ride was 1134m, with an average grade of 4% and a max of 18%! Nice!</p>
<div class="iframe-wrapper">
  <iframe src="http://js.mapmyfitness.com/embed/blogview.html?r=54369646&amp;u=e&amp;t=ride" frameborder="0" style="height:705px;width:450px;">Please upgrade your browser</iframe>
</div>
<div id="attachment_890" class="wp-caption aligncenter" style="width: 1034px"><a href="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap4.png" rel="lightbox[865]"><img class="size-large wp-image-890" title="Elevation/Speed/HR Graph" src="http://darrencope.com/wp-content/uploads/2011/10/20111014_AppGap4-1024x382.png" alt="Elevation/Speed/HR Graph" width="1024" height="382" /></a><p class="wp-caption-text">Elevation/Speed/HR Graph (click for full image)</p></div>
<p>Stay tuned for Part IV, where I&#8217;ll talk about Magic Hat! That reminds me&#8230; I think I still have a <a title="#9" href="http://www.ratebeer.com/beer/magic-hat-9/1314/">#9</a> in the fridge!</p>
]]></content:encoded>
			<wfw:commentRss>http://darrencope.com/2011/10/14/tour-de-brew-%e2%80%93-part-iii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<series:name><![CDATA[Tour de Brew]]></series:name>
	</item>
	</channel>
</rss>

