<?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>Andrew Harvey&#039;s Blog</title>
	<atom:link href="http://andrewharvey4.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewharvey4.wordpress.com</link>
	<description>Programmer, Mapper, Free Software Supporter, Cyclist</description>
	<lastBuildDate>Sun, 22 Jan 2012 03:56:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='andrewharvey4.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Andrew Harvey&#039;s Blog</title>
		<link>http://andrewharvey4.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://andrewharvey4.wordpress.com/osd.xml" title="Andrew Harvey&#039;s Blog" />
	<atom:link rel='hub' href='http://andrewharvey4.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Development Update (Static OSM Tiles, git rebase, Map Labelling)</title>
		<link>http://andrewharvey4.wordpress.com/2011/12/11/development-update-static-osm-tiles-git-rebase-map-labelling/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/12/11/development-update-static-osm-tiles-git-rebase-map-labelling/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 00:12:22 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[geo]]></category>
		<category><![CDATA[osm]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1353</guid>
		<description><![CDATA[Map Labelling Suburbs and Cities Yesterday I pushed a bunch of changes to my OSM/Aerial Imagery Hybrid Style, see the (demo). I spent a bit of time on suburb and city labels as they are a really important feature of a map aimed at non-experts. I&#8217;m finding making a non-trivial style like this has defiantly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1353&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Map Labelling Suburbs and Cities</h2>
<p>Yesterday I pushed a bunch of changes to my <a href="https://github.com/andrewharvey/osm-hybrid-carto/">OSM/Aerial Imagery Hybrid Style</a>, see the <a href="http://173.230.151.169/osmt.html">(demo)</a>. I spent a bit of time on suburb and city labels as they are a really important feature of a map aimed at non-experts.</p>
<p>I&#8217;m finding making a non-trivial style like this has defiantly made me realise the difficulties of such a task.</p>
<p>There are a lot of improvements that can be made (either by modifying or making new components) to the OSM Mapping conventions, osm2pgsql/imposm, mapnik library, carto language stack. That said, the current form is still great and you can still make great maps. But,</p>
<table>
<tr>
<th>I would like to be able to</th>
<th>but this needs</th>
</tr>
<tr>
<td>have labels for large bays at lower zooms than small bays</td>
<td>need bays mapped as closed ways covering their area, rather than a point in the centre</td>
</tr>
<tr>
<td>define a linear function for the size of icons. i.e. at z10 the icon is 10px, at z20 the icon is 20px, now linearly interpolate all sizes for zooms in between</td>
<td>either build this functionality into the carto language, or make another higher level macro like language which you can code this in which is then compiled into carto</td>
</tr>
<tr>
<td>render spread text inside a riverbank</td>
<td>needs functionality in the mapnik rendering engine</td>
</tr>
</table>
<h2>Static OSM Tiles</h2>
<p>I&#8217;m still yet to find a tile server which is fast and works well with lighttpd (nginx would probably suffice too). As an experiment I decided to pre-render a bunch of tiles for my hybrid style sheet. This tile layer doesn&#8217;t need to be minutely updated, anyone who needs that can use the normal mapnik layer. Also static tiles server straight from the webserver should be pretty fast (maybe on memcached tiles would be faster) and I wanted my tiles to be fast.</p>
<p>Next up how can I generate these static tiles? There is the popular <a href="http://svn.openstreetmap.org/applications/rendering/mapnik/generate_tiles.py">generate_tiles.py</a>, but that won&#8217;t render meta tiles, seems like such a waste to render every tile with a buffer of 128px when I would render a 5 by 5 meta tile of the same buffer for only 36% of the total pixels rendered. The larger the meta tiles the larger the latency, but if I&#8217;m pre-rendering them all than latency doesn&#8217;t matter any more.</p>
<p>So I wrote a <a href="https://gist.github.com/1397377">C++ program</a> as my replacement for generate_tiles.py. I also programmed it to render from a list of meta tiles rather than a bbox. This means for my demo I can only render high zooms where there is nearmap coverage. This is where <a href="https://github.com/andrewharvey/OSMTileListFromGeometry/">https://github.com/andrewharvey/OSMTileListFromGeometry/</a> came in, which pulls nearmap coverage areas from an osm2pgsql database, and generates a list of meta tiles.</p>
<p>Using this method I rendered up to and including zoom 17, composed of 22444 5 by 5 meta tiles or 561100 regular tiles in a time of,</p>
<pre>real    198m17.021s
user    103m49.985s
sys     37m36.117s</pre>
<p>with disk usage,</p>
<pre>
&lt;1M   0-8
2.0M  9
6.8M  10
26M   11
98M   12
13M   13
36M   14
114M  15
411M  16
1.5G  17
========
2.2G  total
</pre>
<p>(Updated with results when using &#8220;png&#8221; rather than &#8220;png256&#8243;)</p>
<pre>real    228m17.082s
user    160m24.725s
sys     31m42.653s</pre>
<p>with disk usage,</p>
<pre>
&lt;1M   0-8
3.1M  9
8.6M  10
28M   11
121M  12
34M   13
83M   14
218M  15
663M  16
2.0G  17
========
3.1G total
</pre>
<p>I think that time could still be sped up with,</p>
<ul>
<li>tuning of the mapnik stylesheet queries</li>
<li>tuning of the postgres database</li>
<li>spanning more rendering threads</li>
<li>using larger meta tiles</li>
<li>using a machine with more that 512MB of RAM</li>
<li>not running minutely updates in the background</li>
</ul>
<h2>Git Rebase</h2>
<p>As I use git more and more I&#8217;m slowing learning more of the features it has to offer (and thanks to the free hosting by github). One such feature which I think is awesome is git rebase. As an example the other day I did <code>git commit -ammend</code> instead of <code>git commit --amend</code> (I knew there was a duplicate character somewhere but because I seem to have a tint of dyslexia I confused the duplicate &#8212; with mm).</p>
<p>Of course this resulted in committing all files which had changed with a message of &#8220;mend&#8221; as a new commit. I did this twice, and only noticed after I had already made a bunch of correct commits afterwards. With git rebase I could pop some commits of the commit stack, remove the two &#8220;mend&#8221; commits fix the commit which I should have been amended to and pop my other commits back on top of the stack.</p>
<p>Thanks to <a href="http://stackoverflow.com/a/180085">http://stackoverflow.com/a/180085</a>.</p>
<h2>Next Up</h2>
<ul>
<li>build a daily OSM planet extract by pushing minute-replicate files into the osmosis psql simple schema, then dumping to an OSM file</li>
<li>use this OSM file as a basis for monav and an OSRM service for fosm data</li>
<li>run a name finder service for fosm data</li>
<li>more updates to the hybrid map style</li>
<li>render the hybrid style tiles as oblique images for nearmap multiview</li>
</ul>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/dev/'>dev</a>, <a href='http://andrewharvey4.wordpress.com/tag/geo/'>geo</a>, <a href='http://andrewharvey4.wordpress.com/tag/osm/'>osm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1353&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/12/11/development-update-static-osm-tiles-git-rebase-map-labelling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
		<item>
		<title>OSMT</title>
		<link>http://andrewharvey4.wordpress.com/2011/10/09/osmt/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/10/09/osmt/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 07:00:40 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[geo]]></category>
		<category><![CDATA[osm]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1327</guid>
		<description><![CDATA[I feel the map style I&#8217;ve been working on recently is in good enough shape to announce. It is written in carto and designed to be used with OpenStreetMap data. It is an overlay layer for aerial imagery, though in my example I use NearMap imagery. Take a look at http://tianjara.net/osmt.html. The source is at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1327&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I feel the map style I&#8217;ve been working on recently is in good enough shape to announce. It is written in carto and designed to be used with OpenStreetMap data. It is an overlay layer for aerial imagery, though in my example I use NearMap imagery.</p>
<p>Take a look at <a href="http://tianjara.net/osmt.html">http://tianjara.net/osmt.html</a>.</p>
<p>The source is at <a href="https://github.com/andrewharvey/osm-hybrid-carto/">https://github.com/andrewharvey/osm-hybrid-carto/</a>, licensed CC-BY-SA.</p>
<p>There is still lots of work to do on it though.</p>
<p>I also have a lightweight cycle-overlay too (view example at <a href="http://tianjara.net/leaflet.html">http://tianjara.net/leaflet.html</a> and tick on the cycle overlay or view the code at <a href="https://gist.github.com/1216315">https://gist.github.com/1216315</a>)</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/geo/'>geo</a>, <a href='http://andrewharvey4.wordpress.com/tag/osm/'>osm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1327/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1327&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/10/09/osmt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
		<item>
		<title>A small observation regarding usability and Gnome 3</title>
		<link>http://andrewharvey4.wordpress.com/2011/09/17/a-small-observation-regarding-usability-and-gnome-3/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/09/17/a-small-observation-regarding-usability-and-gnome-3/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 04:51:45 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[usability]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1318</guid>
		<description><![CDATA[I&#8217;ve been running Nautilus 3.0.2 for the last few weeks, I noticed the delete key didn&#8217;t actually delete files so I&#8217;ve been painstakingly deleting files by right click then &#8220;Move to Trash&#8221; or &#8220;Delete&#8221; from the menu. I always thought this was a bug and it would get fixed soon, but after getting sick of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1318&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been running Nautilus 3.0.2 for the last few weeks, I noticed the delete key didn&#8217;t actually delete files so I&#8217;ve been painstakingly deleting files by right click then &#8220;Move to Trash&#8221; or &#8220;Delete&#8221; from the menu. I always thought this was a bug and it would get fixed soon, but after getting sick of this workaround I finally did a Google search and found that this is by design. Now you need to use Ctrl+Del to send to trash and Shift+Del to skip the trash.</p>
<p>I think this is a poor choice, my reasoning is because now you have to use modifier+Del for both send to trash and skip trash. It makes sense to have Del as safe delete (send to trash) and a modified+Del for hard delete (no trash) that is logical and it is easy to remember the difference between the two. But now in this new situation a large majority of users (me included) won&#8217;t be able to remember which modifier does what. Is it Ctrl or Shift and will just pick one at random, giving you a 0.5 chance of doing the actual type of delete you wanted.</p>
<p>Also I don&#8217;t see any reason to add more safety to the straight delete key, after all it only goes to the trash so you can recover it if you accidentally hit the key. If you want add a sound upon sending something to the trash as an audio cue.</p>
<p>The number one thing I learned in my Human Computer Interaction course at uni was get feedback from the users (this isn&#8217;t just asking for feedback, but also observing how they use the software). This is my feedback as a user, and if Gnome developers want to improve usability then they should take in the feedback, i.e. read this.</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/computing/'>computing</a>, <a href='http://andrewharvey4.wordpress.com/tag/gnome/'>gnome</a>, <a href='http://andrewharvey4.wordpress.com/tag/usability/'>usability</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1318&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/09/17/a-small-observation-regarding-usability-and-gnome-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
		<item>
		<title>All Roads Lead to Packaging for Debian</title>
		<link>http://andrewharvey4.wordpress.com/2011/09/12/all-roads-lead-to-packaging-for-debian/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/09/12/all-roads-lead-to-packaging-for-debian/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 11:32:22 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[osm]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1316</guid>
		<description><![CDATA[Just a quick update to say that I have exhausted all my options to build a latest .osm file from fosm.org minute-replicate osc files + a base .osm file from osm.org. Currently fosm.org is down, but I still want to edit on top of the latest data so I can submit my changesets when it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1316&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just a quick update to say that I have exhausted all my options to build a latest .osm file from fosm.org minute-replicate osc files + a base .osm file from osm.org. Currently fosm.org is down, but I still want to edit on top of the latest data so I can submit my changesets when it comes back online. This is proving to be more difficult that I thought. Although really it is a good thing as even though I&#8217;ve tried to ensure I have everything I need to rebuild fosm.org if it were to go down for good, I&#8217;m still not 100% sure as I haven&#8217;t tried, well now I get to try.</p>
<p>My first method was to use <a href="http://m.m.i24.cc/osmconvert.c">osmconvert</a> with the aid of the workflow given in <a href="https://github.com/rrankin/osmconvert/blob/e1fbb7319f92f338e0023d110a3098f5a979fd64/update_osm.sh">https://github.com/rrankin/osmconvert/blob/e1fbb7319f92f338e0023d110a3098f5a979fd64/update_osm.sh</a>. It was quite fast and it almost worked, but due to limitation of osmconvert it seems that it expects the objects to be sorted in the order given by the object IDs. We can either patch osmconvert to work around this, or sort the osc files&#8230;</p>
<p>Putting the first method on hold, I gave installing the rails port that runs the API at osm.org a go with the idea that I can load the changesets or osc files directly into the API or DB. I got it installed and got to the step of loading in my starting OSM .osm file from before the FOSM fork. <a href="http://wiki.openstreetmap.org/wiki/The_Rails_Port#Populating_the_database">http://wiki.openstreetmap.org/wiki/The_Rails_Port#Populating_the_database</a> even gives the command line to run, but osmosis didn&#8217;t like this. I believe the issue is fixed with later versions of osmosis though.</p>
<p>This leads me to require a later version of osmosis. I don&#8217;t really want to install osmosis from source using the upstream project&#8217;s method as it will pull in a bunch of 3rd party libraries using maven, so the only real option is to work to upgrade the debian package for osmosis. This isn&#8217;t easy either as I don&#8217;t know that much about ant/maven/ivy. I could spend I whole weekend just trying to update the debian package of osmosis and still get nowhere, all the time I&#8217;m just getting further away from my original goal which was to make some FOSM changesets from my latest trip while my memory is still fresh&#8230;</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/debian/'>debian</a>, <a href='http://andrewharvey4.wordpress.com/tag/dev/'>dev</a>, <a href='http://andrewharvey4.wordpress.com/tag/osm/'>osm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1316&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/09/12/all-roads-lead-to-packaging-for-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
		<item>
		<title>3D NearMap Prototype From 4 Oblique + 1 Ortho</title>
		<link>http://andrewharvey4.wordpress.com/2011/09/04/3d-nearmap-prototype-from-4-oblique-1-ortho/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/09/04/3d-nearmap-prototype-from-4-oblique-1-ortho/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 11:51:28 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[geo]]></category>
		<category><![CDATA[nearmap]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1314</guid>
		<description><![CDATA[I was on a flight the other day and I enjoyed looking down and seeing the land from a different perspective. It reminded me of a project I was working on which was essentially a 3D map viewer like Google Earth, but not in perspective and just implemented in the web browser. The main incentive [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1314&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was on a flight the other day and I enjoyed looking down and seeing the land from a different perspective. It reminded me of a project I was working on which was essentially a 3D map viewer like Google Earth, but not in perspective and just implemented in the web browser. The main incentive was NearMap doesn&#8217;t just offer orthophotos, but 4 oblique views too. So leveraging on Polymaps I got a prototype working: <a href="http://tianjara.net/3d-nearmap.html">http://tianjara.net/3d-nearmap.html</a> It allows you to move the camera with the WASD keys, when your view angle gets smaller (less straight overhead) it switches to the oblique views. (It would be nicer if you could use the mouse to rotate though&#8230; <a href="https://gist.github.com/1192690">patches welcome</a>)</p>
<p>Just viewing the obliques with NearMap&#8217;s front end at nearmap.com, you will often find all the buildings are slanted on an angle, with my viewer however you can correct this to make them straight and looking nice again by tweaking the camera rotation. If nothing else came out of this experiment I think that just the mere ability to easily correct this artefact to produce nicer looking obliques made it a worthwhile endeavour.</p>
<p>You could push the concept further and add perspective (like Google Earth, rather than my simple parallel projection) and have each tile pick the optimal {Vert|N|S|E|W} layer, although with LIDAR progressing we can now capture true 3D so we don&#8217;t need to fake it with 2D images any more&#8230;</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/geo/'>geo</a>, <a href='http://andrewharvey4.wordpress.com/tag/nearmap/'>nearmap</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1314&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/09/04/3d-nearmap-prototype-from-4-oblique-1-ortho/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
		<item>
		<title>I&#8217;m halfway towards an online home&#8230;</title>
		<link>http://andrewharvey4.wordpress.com/2011/07/31/im-halfway-towards-an-online-home/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/07/31/im-halfway-towards-an-online-home/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 07:07:48 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1310</guid>
		<description><![CDATA[Just recently I signed up with Linode for a virtual private server. I should have done this a long time ago but payment methods and too much choice lead me to put it off. So far I&#8217;m quite happy with the price and the quality of the product. I think I would have preferred just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1310&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just recently I signed up with Linode for a virtual private server. I should have done this a long time ago but payment methods and too much choice lead me to put it off. So far I&#8217;m quite happy with the price and the quality of the product.</p>
<p>I think I would have preferred just buying a new dedicated machine myself, however unless you&#8217;re in the CBD you can&#8217;t get upload speeds much more than 1.5Mbps around here (if you are lucky), which is not really fast enough, hence I&#8217;ve gone with the 3rd party hosting option. Perhaps if this NBN the government keeps taking about is turned on and not too expensive I&#8217;ll switch. In the mean time it seems silly that Australians need to host content that is mainly consumed by Australians overseas just because of the price difference.</p>
<p>For example if A wants to host content to Australians, but it is cheaper to do so from overseas, then A will mostly likely host their content overseas. This just means Australia has an even greater disturbance in the overseas traffic up/down ratio (i.e. we pull more than we push), which in turns means our local ISPs have to pay more compared to the overseas ISPs to lay the cables, this in turn leads to higher internet costs for Australians compared to overseas ISPs.</p>
<p>At any time our local ISPs could provide incentives for keeping traffic local inside the country by making overseas traffic more expensive than local traffic (for both people hosting and consuming), which would help Australians host locally and in turn even up the balance. It also means that the overseas pipes won&#8217;t need to be as thick (because for sites which mostly get Australian visitors, hosting locally means the total amount of cross country traffic for that site is less, hence more efficient).</p>
<p>There is not much I can do about this, so I&#8217;m giving in and hosting overseas with the hope that one day things will return to sanity, but in the meantime I haven&#8217;t been left off-line.</p>
<p>Anyway, back to Linode, I having a lot of fun at the moment setting it up and getting things working.</p>
<p>I&#8217;m running Debian 6.0, with unattended-upgrades, lighttpd, ufw, etckeeper (and soon either exim or postfix and possibly I&#8217;ll migrate this wordpress blog across). I have run through http://www.debian.org/doc/manuals/securing-debian-howto/ it&#8217;s a bit dated and I&#8217;m by no means following everything, but none the less it&#8217;s still a nice read.</p>
<p>I&#8217;ve set up ssh with protocol 1 disabled (securing debian howto says it has some design flaws, so why enable it if I don&#8217;t need it?), publickey authentication only, fail2ban, and only accepting traffic to the ssh port from IP ranges I know I&#8217;ll be connecting from (I know if I&#8217;ve got security via publickey auth, I don&#8217;t really need this, but it can&#8217;t hurt&#8230; at least my logs don&#8217;t fill up with as many break in attempts.).</p>
<p>However since one can always log into the machine via the console at linode.com, security here comes down to the weakest link of web based username/password and ssh publickey auth (ignoring all the other threats like compromised VM separation, compromised VM host, physical security, etc.. stuff I have no control over).</p>
<p>I have set up lighttpd as RAM is limited and I read that this (and nginx) are better than Apache httpd in this regard. I have also set up munin and munin-node (and adapted /etc/munin/apache.conf for lighttpd). I would prefer the munin stats not be appreciable to the world, so I just expose it to localhost only and access it via an SSH tunnel.</p>
<p>Additionally, while trying to debug lighttpd configuration I noticed that it wasn&#8217;t responding to nc. Apparently lighttpd will only respond to my requests when lines end with \r\n but just typing away in the terminal as input to nc and using the Enter key I only end lines with \n. Apparently this is per the HTTP spec and it only works with Apache because it isn&#8217;t as strict about this.</p>
<p>Next I have to see about getting a domain name. This is a huge problem in itself, but it since,</p>
<ul>
<li>the IP can change at any time (and will change if I move away from Linode),</li>
<li>you can&#8217;t have sub-domains to separate parts of the site, and</li>
<li>you can&#8217;t really do email</li>
</ul>
<p>I don&#8217;t really have a choice. Unfortunately the current ICANN DNS is the only real option at the moment, so I&#8217;m just going to have to pay up, and try to avoid having some details which I don&#8217;t want listed, listed in WHOIS. At the moment I&#8217;ll probably go for a .id.au domain.</p>
<p>I&#8217;ll probably move this blog across once I set up a domain name, so more news to come on this later.</p>
<p>Update: I&#8217;ve registered with gandi.net. My site is now available at <a href="http://tianjara.net/">http://tianjara.net/</a></p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/computing/'>computing</a>, <a href='http://andrewharvey4.wordpress.com/tag/web/'>web</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1310&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/07/31/im-halfway-towards-an-online-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
		<item>
		<title>Using TileMill to make OpenStreetMap Map Stylesheets</title>
		<link>http://andrewharvey4.wordpress.com/2011/06/06/using-tilemill-to-make-openstreetmap-map-stylesheets/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/06/06/using-tilemill-to-make-openstreetmap-map-stylesheets/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 12:20:32 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[geo]]></category>
		<category><![CDATA[osm]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1305</guid>
		<description><![CDATA[A short time ago TileMill got support for PostGIS data sources. I&#8217;m really excited by this as it means you can use TileMill, which is very easy to use, having a gentle learning curve, to construct your own OpenStreetMap stylesheets and see the data being rendered using your style. This is great! e.g. in less [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1305&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A short time ago TileMill got support for PostGIS data sources. I&#8217;m really excited by this as it means you can use TileMill, which is very easy to use, having a gentle learning curve, to construct your own OpenStreetMap stylesheets and see the data being rendered using your style. This is great! e.g. in less than an hour I made this,</p>
<div id="attachment_1306" class="wp-caption aligncenter" style="width: 610px"><a href="http://andrewharvey4.files.wordpress.com/2011/06/tilemill-style1.png"><img class="size-full wp-image-1306" title="tilemill-style1" src="http://andrewharvey4.files.wordpress.com/2011/06/tilemill-style1.png?w=600&#038;h=338" alt="Map of Sydney made using TileMill from OSM Data." width="600" height="338" /></a><p class="wp-caption-text">Map data © OpenStreetMap contributors, CC-BY-SA</p></div>
<p>Want a map which just shows the drainage network (which you can see from low zooms)? Easy.</p>
<div id="attachment_1307" class="wp-caption aligncenter" style="width: 610px"><a href="http://andrewharvey4.files.wordpress.com/2011/06/tilemill-syd-drainage.png"><img class="size-full wp-image-1307" title="tilemill-syd-drainage" src="http://andrewharvey4.files.wordpress.com/2011/06/tilemill-syd-drainage.png?w=600&#038;h=379" alt="Sydney Drainage Map" width="600" height="379" /></a><p class="wp-caption-text">Map data © OpenStreetMap contributors, CC-BY-SA</p></div>
<p>I&#8217;m sure I&#8217;ll be publishing lots of new styles in the near future, one of which will be a style designed as an aerial image (NearMap) overlay. Exciting times ahead&#8230;</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/geo/'>geo</a>, <a href='http://andrewharvey4.wordpress.com/tag/osm/'>osm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1305/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1305/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1305/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1305&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/06/06/using-tilemill-to-make-openstreetmap-map-stylesheets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>

		<media:content url="http://andrewharvey4.files.wordpress.com/2011/06/tilemill-style1.png" medium="image">
			<media:title type="html">tilemill-style1</media:title>
		</media:content>

		<media:content url="http://andrewharvey4.files.wordpress.com/2011/06/tilemill-syd-drainage.png" medium="image">
			<media:title type="html">tilemill-syd-drainage</media:title>
		</media:content>
	</item>
		<item>
		<title>Thanks</title>
		<link>http://andrewharvey4.wordpress.com/2011/06/06/thanks/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/06/06/thanks/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 10:59:15 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1303</guid>
		<description><![CDATA[Several weeks ago I crashed on my bike. I would just like to thank those who went out of their way to make sure I was okay, by helping me off the road and offering me a call from your mobile phone. You were truly helpful, thank you. Filed under: Uncategorized<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1303&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Several weeks ago I crashed on my bike. I would just like to thank those who went out of their way to make sure I was okay, by helping me off the road and offering me a call from your mobile phone. You were truly helpful, thank you.</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1303&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/06/06/thanks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
		<item>
		<title>Using ABS ASGS Data in OpenStreetMap</title>
		<link>http://andrewharvey4.wordpress.com/2011/03/17/using-abs-asgs-data-in-openstreetmap/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/03/17/using-abs-asgs-data-in-openstreetmap/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 11:18:21 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[geo]]></category>
		<category><![CDATA[gov]]></category>
		<category><![CDATA[osm]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1288</guid>
		<description><![CDATA[A little while ago Marcus Blake from the Australian Bureau of Statistics asked the OSM community about the potential use of some ABS data. As I mentioned on the list I think it is good that at least some government departments are making their data available under free licenses and that they engage with with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1288&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A little while ago Marcus Blake from the Australian Bureau of Statistics <a href="http://lists.openstreetmap.org/pipermail/talk-au/2011-February/007741.html">asked the OSM community</a> about the potential use of some ABS data. As I mentioned on the list I think it is good that at least some government departments are making their data available under free licenses and that they engage with with the community to sort out any technical details about the data.</p>
<p>As <a href="http://www.abs.gov.au/websitedbs/d3310114.nsf/home/australian+statistical+geography+standard+%28asgs%29">described by the ABS</a>, the ASGS is essentially data describing geographical areas.</p>
<div id="attachment_1290" class="wp-caption aligncenter" style="width: 590px"><a href="http://andrewharvey4.files.wordpress.com/2011/03/asgs-abs-structures.png"><img class="size-full wp-image-1290" title="asgs-abs-structures" src="http://andrewharvey4.files.wordpress.com/2011/03/asgs-abs-structures.png?w=600" alt=""   /></a><p class="wp-caption-text">ASGS ABS Structures - CC-BY 2.5 AU Australian Bureau of Statistics</p></div>
<div id="attachment_1291" class="wp-caption aligncenter" style="width: 610px"><a href="http://andrewharvey4.files.wordpress.com/2011/03/asgs-non-abs-structures.gif"><img class="size-full wp-image-1291" title="asgs-non-abs-structures" src="http://andrewharvey4.files.wordpress.com/2011/03/asgs-non-abs-structures.gif?w=600&#038;h=403" alt="" width="600" height="403" /></a><p class="wp-caption-text">ASGS Non-ABS Structures - CC-BY 2.5 AU Australian Bureau of Statistics</p></div>
<p>Working out which if any structures should be incorporated into OSM and how needs careful consideration, and <a href="http://lists.openstreetmap.org/pipermail/talk-au/2011-February/007748.html">I&#8217;ve posted some of my thoughts to the list</a>. In the mean time, since the data does contain some landuse information I&#8217;ve been looking into how best to use this information to aid in mapping. A blind import is not an option in my opinion, but I thought it would be handy to see the data as a base map when mapping.</p>
<p>I did try using ogr2osm to convert the data to the OSM xml format to load into JOSM (I even got the translateAttributes function for ogr2osm working for this dataset), but due to the nature of the data, I think a simple raster underlay works well. I tried two approaches in parallel.</p>
<ol>
<li>shp -&gt; osm (using ogr2osm) -&gt; postgres (using osm2pgsql) -&gt; raster tiles (using mapnik).</li>
<li>Using GeoServer to serve a WMS which can be loaded into JOSM.</li>
</ol>
<p>Option 2 seemed to require less set up time. Simply used the GUI to load the shapefile, and <a href="https://gist.github.com/874161">apply a style</a>. Then load the WMS into JOSM.</p>
<div id="attachment_1295" class="wp-caption aligncenter" style="width: 610px"><a href="http://andrewharvey4.files.wordpress.com/2011/03/nearmap-asb-mb-in-josm.jpg"><img class="size-full wp-image-1295" title="nearmap-asb-mb-in-josm" src="http://andrewharvey4.files.wordpress.com/2011/03/nearmap-asb-mb-in-josm.jpg?w=600&#038;h=435" alt="ABS Mech Blocks with landuse styling in JOSM, with NearMap underlay." width="600" height="435" /></a><p class="wp-caption-text">ABS Mech Blocks with landuse styling in JOSM, with NearMap underlay.</p></div>
<p>One caveat, if you want to load a WMS services from GeoServer into JOSM, I found the URL should look something like:</p>
<pre>http://localhost:8080/geoserver/wms?service=WMS&amp;version=1.1.0&amp;request=GetMap&amp;layers=<strong>workspace_name</strong>:<strong>layer_name</strong>&amp;styles=&amp;format=image/png&amp;</pre>
<p>Slightly unrelated but if you are using tomcat or jetty locally but only occasionally (like I do), I find it is best to use <tt>sysv-rc-conf</tt> (eg. <tt>sudo sysv-rc-conf tomcat6 off</tt>) to disable the tomcat or jetty daemon from running at boot, whilst still allowing you to start it (<tt>sudo service tomcat6 start</tt>) when you need it.</p>
<p>If anyone is interested in getting such data in JOSM and would like more details, just let me know.</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/geo/'>geo</a>, <a href='http://andrewharvey4.wordpress.com/tag/gov/'>gov</a>, <a href='http://andrewharvey4.wordpress.com/tag/osm/'>osm</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1288&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/03/17/using-abs-asgs-data-in-openstreetmap/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>

		<media:content url="http://andrewharvey4.files.wordpress.com/2011/03/asgs-abs-structures.png" medium="image">
			<media:title type="html">asgs-abs-structures</media:title>
		</media:content>

		<media:content url="http://andrewharvey4.files.wordpress.com/2011/03/asgs-non-abs-structures.gif" medium="image">
			<media:title type="html">asgs-non-abs-structures</media:title>
		</media:content>

		<media:content url="http://andrewharvey4.files.wordpress.com/2011/03/nearmap-asb-mb-in-josm.jpg" medium="image">
			<media:title type="html">nearmap-asb-mb-in-josm</media:title>
		</media:content>
	</item>
		<item>
		<title>I&#8217;ve switched to nouveau, an open source nvidia driver</title>
		<link>http://andrewharvey4.wordpress.com/2011/03/07/ive-switched-to-nouveau-an-open-source-nvidia-driver/</link>
		<comments>http://andrewharvey4.wordpress.com/2011/03/07/ive-switched-to-nouveau-an-open-source-nvidia-driver/#comments</comments>
		<pubDate>Mon, 07 Mar 2011 10:58:53 +0000</pubDate>
		<dc:creator>Andrew Harvey</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://andrewharvey4.wordpress.com/?p=1286</guid>
		<description><![CDATA[&#8230;and I&#8217;m back. I&#8217;ve finally upgraded from the nvidia proprietary driver, to the open source nouveau driver. After a little bit of time stuck at the console (I somehow managed to break X) trying to remember how to do things without a graphical display, I&#8217;ve got things working normal again. First impression is compiz seems [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1286&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8230;and I&#8217;m back. I&#8217;ve finally upgraded from the nvidia proprietary driver, to the open source nouveau driver. After a little bit of time stuck at the console (I somehow managed to break X) trying to remember how to do things without a graphical display, I&#8217;ve got things working normal again.</p>
<p>First impression is compiz seems to be much slicker (ie. animations are smoother) on nouveau rather than the nvidia proprietary driver. I like it.</p>
<p>I had a couple of hiccups in the switch. I needed to clean /etc/X11/xorg.conf down to the 4 line minimal version to get a sane display resolution, and I needed to properly remove the nvidia proprietary driver (apt-get remove worked, but I needed to remove all the non-free nvidia packages). I also needed to install libgl1-mesa-dri-experimental to get direct rendering for compiz and basic OpenGL programs to work. Compiz seems to run fine now. The only noticeable difference in SuperTuxKart is a white flicker&#8230;</p>
<br />Filed under: <a href='http://andrewharvey4.wordpress.com/category/uncategorized/'>Uncategorized</a> Tagged: <a href='http://andrewharvey4.wordpress.com/tag/linux/'>linux</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrewharvey4.wordpress.com/1286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrewharvey4.wordpress.com/1286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrewharvey4.wordpress.com/1286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrewharvey4.wordpress.com/1286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrewharvey4.wordpress.com/1286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrewharvey4.wordpress.com/1286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrewharvey4.wordpress.com/1286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrewharvey4.wordpress.com/1286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrewharvey4.wordpress.com/1286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrewharvey4.wordpress.com/1286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrewharvey4.wordpress.com/1286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrewharvey4.wordpress.com/1286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrewharvey4.wordpress.com/1286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrewharvey4.wordpress.com/1286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrewharvey4.wordpress.com&amp;blog=5148276&amp;post=1286&amp;subd=andrewharvey4&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrewharvey4.wordpress.com/2011/03/07/ive-switched-to-nouveau-an-open-source-nvidia-driver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/28043c88c4d0c2700ec793045d0ebe91?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">andrewharvey4</media:title>
		</media:content>
	</item>
	</channel>
</rss>
