<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mateusz Loskot &#187; none</title>
	<atom:link href="http://mateusz.loskot.net/category/none/feed/" rel="self" type="application/rss+xml" />
	<link>http://mateusz.loskot.net</link>
	<description>mloskot&#039;s life, programming, c++, geo and adventures</description>
	<lastBuildDate>Tue, 10 Jan 2012 22:03:03 +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>Where is my donut?</title>
		<link>http://mateusz.loskot.net/2010/03/14/where-is-my-donut/</link>
		<comments>http://mateusz.loskot.net/2010/03/14/where-is-my-donut/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 02:56:31 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[health]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=2002</guid>
		<description><![CDATA[I&#8217;m reading Darren&#8217;s post about The Geography of Tim Hortons. It&#8217;s interesting. It&#8217;s fun. The geospatial-enabled fast food consumption seems to be well aligned with the recent prophecies about what&#8217;s lucrative now, apart from donuts. It could be interesting to &#8230; <a href="http://mateusz.loskot.net/2010/03/14/where-is-my-donut/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m reading <a href="http://darrencope.com/">Darren&#8217;s</a> post about <a href="http://darrencope.com/2010/03/11/the-geography-of-tim-hortons/">The Geography of Tim Hortons</a>. It&#8217;s interesting. It&#8217;s fun. The geospatial-enabled fast food consumption seems to be well aligned with the recent prophecies about <a href="http://twitter.com/timoreilly/status/10186975174">what&#8217;s lucrative now</a>, apart from donuts. It could be interesting to compare the Hortons&#8217; trend with country-level version of <a href="http://thestar.blogs.com/maps/2009/08/map-of-the-week-obesity.html">this map</a>. Perhaps, <a href="http://postgis.org/documentation/manual-svn/ST_Overlaps.html">ST_Overlaps</a> would return false, but <a href="http://postgis.org/documentation/manual-svn/ST_Intersection.html">ST_Intersection</a> would likely return a pretty large geometry.</p>
<p>Anxiously, however, my enthusiasm is being a little bit repressed. The idea is a double edged sword and instead of navigating ourselves straight to donut heavens, we should rather <em>start hiding such dangerous places</em> from all publicly available maps and guides. This could be a part of health promoting geocaching campaign <em>&#8220;Burn to Find&#8221;</em>.</p>
<p>And I&#8217;m not going to put any smiles in here.</p>
<p><object width="446" height="326"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/JamieOliver_2010-medium.mp4&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/JamieOliver-2010.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=765&#038;introDuration=16500&#038;adDuration=4000&#038;postAdDuration=2000&#038;adKeys=talk=jamie_oliver;year=2010;theme=new_on_ted_com;theme=ted_prize_winners;theme=a_taste_of_ted2010;event=TED2010;&#038;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="446" height="326" allowFullScreen="true" flashvars="vu=http://video.ted.com/talks/dynamic/JamieOliver_2010-medium.mp4&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/JamieOliver-2010.embed_thumbnail.jpg&#038;vw=432&#038;vh=240&#038;ap=0&#038;ti=765&#038;introDuration=16500&#038;adDuration=4000&#038;postAdDuration=2000&#038;adKeys=talk=jamie_oliver;year=2010;theme=new_on_ted_com;theme=ted_prize_winners;theme=a_taste_of_ted2010;event=TED2010;"></embed></object></p>
<p><em>Direct costs are estimated to be &pound;4.2 billion and Foresight have forcasted that this will more than double by 2050 if we continue as we are.</em> &#8212; <a href="http://www.dh.gov.uk/en/Publichealth/Healthimprovement/Obesity/DH_078098">UK DoH report</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2010/03/14/where-is-my-donut/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Git vs Mercurial</title>
		<link>http://mateusz.loskot.net/2010/01/28/git-vs-mercurial/</link>
		<comments>http://mateusz.loskot.net/2010/01/28/git-vs-mercurial/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 21:40:22 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[dvcs]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[hg]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mercurial]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=1780</guid>
		<description><![CDATA[One of possible and reasonable answers given at gitvsmercurial.com]]></description>
			<content:encoded><![CDATA[<p>One of possible and reasonable answers given at <a href="http://gitvsmercurial.com">gitvsmercurial.com</a></p>
<p><a href="http://www.flickr.com/photos/mloskot/4312481544/" title="gitvsmercurial.com by mloskot, on Flickr"><img src="http://farm5.static.flickr.com/4061/4312481544_8a0aafcbf8.jpg" width="484" height="500" alt="gitvsmercurial.com" /></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2010/01/28/git-vs-mercurial/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EfficientPC is closing down</title>
		<link>http://mateusz.loskot.net/2009/12/23/efficientpc-is-closing-down/</link>
		<comments>http://mateusz.loskot.net/2009/12/23/efficientpc-is-closing-down/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 11:35:31 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[EfficientPC]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=1655</guid>
		<description><![CDATA[The EfficientPC company, best known as a seller of energy efficient good-looking quietly operating Linux-based laptop and desktop computers, has just announced sad news: After many happy years of service to the Linux community, EfficientPC Limited is closing down. The &#8230; <a href="http://mateusz.loskot.net/2009/12/23/efficientpc-is-closing-down/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/mloskot/1558750896/" title="Panasonic Toughbook C-25 by mloskot, on Flickr"><img src="http://farm3.static.flickr.com/2285/1558750896_bf935a0de8_t.jpg" width="75" height="100" align="left" alt="Panasonic Toughbook C-25" style="border:none; margin: 5px;" /></a>The <a href="http://www.efficientpc.co.uk/">EfficientPC</a> <a href="http://twitter.com/efficientpc">company</a>, best known as a seller of energy efficient good-looking quietly operating Linux-based laptop and desktop computers, has just announced sad news:</p>
<blockquote><p>After many happy years of service to the Linux community, EfficientPC Limited is closing down.</p></blockquote>
<p>The reason of this decision is interesting:</p>
<blockquote><p>our goal of bringing Linux to the mainstream has succeeded, so we gracefully retire</p></blockquote>
<p>Happy retirement!</p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/12/23/efficientpc-is-closing-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google, this is not funny!</title>
		<link>http://mateusz.loskot.net/2009/10/02/google-this-is-not-funny/</link>
		<comments>http://mateusz.loskot.net/2009/10/02/google-this-is-not-funny/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 12:17:26 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google maps]]></category>
		<category><![CDATA[joke]]></category>
		<category><![CDATA[kayak]]></category>
		<category><![CDATA[kayaking]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=1088</guid>
		<description><![CDATA[Google&#8217;s joke may not be funny at all. Some people tend to NOT to think at all when using satellite navigation systems. Chances are, some of Google Maps users will blindly follow Google Maps directions&#8230;brrr terrifying! Yet another proof Google &#8230; <a href="http://mateusz.loskot.net/2009/10/02/google-this-is-not-funny/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/mloskot/3974447288/" title="google-is-evil by mloskot, on Flickr"><img src="http://farm3.static.flickr.com/2473/3974447288_378b1fa23d_t.jpg" width="100" height="75" alt="google-is-evil" border="0" hspace="5" vspace="0" style="float: left;" /></a>Google&#8217;s <a href="http://www.flickr.com/photos/mloskot/3974447288/">joke</a> may not be funny at all. Some people tend <a href="http://www.telegraph.co.uk/news/newstopics/howaboutthat/4839955/Lorry-driver-stuck-for-five-days-after-following-sat-nav-down-country-lane.html">to NOT to think</a> at all when using satellite navigation systems. Chances are, some of Google Maps users will blindly follow Google Maps directions&#8230;brrr terrifying!</p>
<p>Yet another proof <a href="http://www.google-watch.org/friedman.html">Google is evil</a> &#8211; literally wants the users to go down ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/10/02/google-this-is-not-funny/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>BoostCon 2010</title>
		<link>http://mateusz.loskot.net/2009/10/02/boostcon-2010/</link>
		<comments>http://mateusz.loskot.net/2009/10/02/boostcon-2010/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 12:02:50 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[boost]]></category>
		<category><![CDATA[boostcon]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[conference]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=1084</guid>
		<description><![CDATA[The 4th Annual Boost Conference 2010 call for participation has been posted. Who fancies the late spring C++ orgy in Aspen?]]></description>
			<content:encoded><![CDATA[<p>The 4th <a href="http://www.boostcon.com/">Annual Boost Conference</a> 2010 <a href="http://lists.boost.org/Archives/boost/2009/10/156771.php">call for participation</a> has been posted.</p>
<p>Who fancies the late spring <a href="http://www.boost.org/">C++</a> orgy in Aspen?</p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/10/02/boostcon-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>libopenlr.org anyone?</title>
		<link>http://mateusz.loskot.net/2009/09/10/libopenlr-org-anyone/</link>
		<comments>http://mateusz.loskot.net/2009/09/10/libopenlr-org-anyone/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 22:41:25 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[location]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[openlr]]></category>
		<category><![CDATA[specification]]></category>
		<category><![CDATA[standard]]></category>
		<category><![CDATA[tomtom]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=998</guid>
		<description><![CDATA[Slashgeo forwarded an interesting news about OpenLR initiative by TomTom. A part of it is an open industry standard. Another part of it is an open source code library which is coming soon. In the meantime, as it seems the &#8230; <a href="http://mateusz.loskot.net/2009/09/10/libopenlr-org-anyone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://technology.slashgeo.org/technology/09/09/10/1125210.shtml">Slashgeo forwarded</a> an interesting news about <a href="http://www.tomtom.com/page/openLR">OpenLR</a> initiative by <a href="http://www.tomtom.com/">TomTom</a>. A part of it is an open industry standard. Another part of it is an open source code library which is coming soon.</p>
<p>In the meantime, as it seems the complete stack of <a href="http://www.tomtom.com/page/openLR">PDFs</a> has been published, would anyone be after <a href="http://libopenlr.org">libopenlr.org</a> project, before TomTom will put its <a href="http://www.gpsgazette.com/tomtom-refreshes-logo/tomtom/">red hands</a> on it? And the domain is <a href="http://www.whois.net/available-domains/libopenlr.org">still available</a>, by the way :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/09/10/libopenlr-org-anyone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>libLAS moved to new repository</title>
		<link>http://mateusz.loskot.net/2009/08/29/liblas-moved-to-new-repository/</link>
		<comments>http://mateusz.loskot.net/2009/08/29/liblas-moved-to-new-repository/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 12:42:17 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[clone]]></category>
		<category><![CDATA[dvcs]]></category>
		<category><![CDATA[hobu]]></category>
		<category><![CDATA[howard butler]]></category>
		<category><![CDATA[liblas]]></category>
		<category><![CDATA[mercurial]]></category>
		<category><![CDATA[motion]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[revision]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[system]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=955</guid>
		<description><![CDATA[Hobu proposed motion to migrate libLAS source code repository from Subversion to Mercurial. The motion has been approved and Hobu completed the mgration. In order to check out libLAS source code from the new repository, issue the clone command: hg &#8230; <a href="http://mateusz.loskot.net/2009/08/29/liblas-moved-to-new-repository/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://liblas.org/"><img src="http://liblas.org/chrome/site/liblaslogo.png" alt="libLAS - ASPRS LiDAR data translation toolset"  width="173" height="54" align="left" border="0" style="margin: 5px" /></a> Hobu <a href="http://lists.osgeo.org/pipermail/liblas-devel/2009-August/000587.html">proposed motion</a> to migrate libLAS source code repository from <a href="http://subversion.tigris.org/">Subversion</a> to <a href="http://mercurial.selenic.com/wiki/">Mercurial</a>. The motion has been approved and Hobu <a href="http://lists.osgeo.org/pipermail/liblas-devel/2009-August/000590.html">completed</a> the mgration.</p>
<p>In order to check out libLAS source code from the new repository, issue the <a href="http://mercurial.selenic.com/wiki/Clone">clone command</a>:</p>
<pre>hg clone http://hg.liblas.org/</pre>
<p>The <a href="http://liblas.org/report/1">libLAS Trac</a> has been re-configured to make the new repository <a href="http://liblas.org/browser">browsable</a>. Alternative Web-based interface is available at <a href="http://hg.liblas.org/">http://hg.liblas.org/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/08/29/liblas-moved-to-new-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spatial Relations for Dummies</title>
		<link>http://mateusz.loskot.net/2009/06/28/spatial-relations-for-dummies/</link>
		<comments>http://mateusz.loskot.net/2009/06/28/spatial-relations-for-dummies/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 20:45:26 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[dale lutz]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[dbms]]></category>
		<category><![CDATA[dummies]]></category>
		<category><![CDATA[geography]]></category>
		<category><![CDATA[geometry]]></category>
		<category><![CDATA[geos]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[jo]]></category>
		<category><![CDATA[jts]]></category>
		<category><![CDATA[lutz]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[postgis]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[relation]]></category>
		<category><![CDATA[safe]]></category>
		<category><![CDATA[safe software]]></category>
		<category><![CDATA[spatial]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=708</guid>
		<description><![CDATA[My friend Jo asked on GEOS mailing list for approachable explanation of spatial relations and Dale Lutz from Safe Software suggested something I&#8217;ve not came across myself before and what (in generalised form) I&#8217;d consider as a great idea for&#8230;a &#8230; <a href="http://mateusz.loskot.net/2009/06/28/spatial-relations-for-dummies/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My friend <a href="http://twitter.com/doublebyte">Jo</a> <a href="http://lists.osgeo.org/pipermail/geos-devel/2009-June/004238.html">asked</a> on <a href="http://trac.osgeo.org/geos/">GEOS</a> <a href="http://lists.osgeo.org/mailman/listinfo/geos-devel">mailing list</a> for approachable explanation of <a href="http://en.wikipedia.org/wiki/Spatial_relation">spatial relations</a> and <a href="http://www.dalelutz.com/">Dale Lutz</a> from <a href="http://www.safe.com/">Safe Software</a> suggested something I&#8217;ve not came across myself before and what (in generalised form) I&#8217;d consider as a great idea for&#8230;a book really :-)</p>
<p><a href="http://www.fmepedia.com/index.php/SpatialRelator_For_Dummies"><img src="http://www.fmepedia.com/attachments//SpatialRelator_For_Dummies/smSpatialRelatorForDummies.jpg" alt="Spatial Relation for Dummies" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/06/28/spatial-relations-for-dummies/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Quick Look and Spotlight plugins for GIS</title>
		<link>http://mateusz.loskot.net/2009/06/23/quick-look-and-spotlight-plugins-for-gis/</link>
		<comments>http://mateusz.loskot.net/2009/06/23/quick-look-and-spotlight-plugins-for-gis/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 22:17:02 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[Bernhard Jenny]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[gislook]]></category>
		<category><![CDATA[gismeta]]></category>
		<category><![CDATA[Jenny]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[spotlight]]></category>
		<category><![CDATA[Zurich]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=677</guid>
		<description><![CDATA[I had been thinking about developing something like that since I started to use Mac OS X as my development environment, but I left my Apple boxes at home in PL and now I&#8217;ve switched back to Linux (you simply &#8230; <a href="http://mateusz.loskot.net/2009/06/23/quick-look-and-spotlight-plugins-for-gis/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had been thinking about developing something like that since I started to use <a href="http://www.flickr.com/photos/mloskot/2053393609/">Mac OS X</a> as my development environment, but <a href="http://www.flickr.com/photos/mloskot/2053396495/">I left my Apple boxes at home in PL</a> and now I&#8217;ve switched back to <a href="http://www.flickr.com/photos/mloskot/1558750896/">Linux</a> (you simply can&#8217;t forget your roots :-)) . So, the idea has been swapped in the abyss of my mind until I accidentally came across <a href="http://jenny.cartography.ch/gislook/">GISLook</a> five minutes ago:</p>
<blockquote><p>GISLook and GISMeta are plugins for Mac OS X 10.5 that show GIS data in the Finder.</p></blockquote>
<p>These cool-looking plugins were created by <a href="http://jenny.cartography.ch/">Bernhard Jenny</a>.
</p>
<p>I know many GIS users loving products of the <del datetime="2009-06-23T22:17:13+00:00">forbidden</del> fruit, so I&#8217;m spreading the word about these nice looking and, hopefully, well working tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/06/23/quick-look-and-spotlight-plugins-for-gis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Crunching overviews</title>
		<link>http://mateusz.loskot.net/2009/06/03/crunching-overviews/</link>
		<comments>http://mateusz.loskot.net/2009/06/03/crunching-overviews/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 10:27:03 +0000</pubDate>
		<dc:creator>mloskot</dc:creator>
				<category><![CDATA[none]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[dataset]]></category>
		<category><![CDATA[dbms]]></category>
		<category><![CDATA[dumping]]></category>
		<category><![CDATA[gdal]]></category>
		<category><![CDATA[gdal2wktraster]]></category>
		<category><![CDATA[gdaladdo]]></category>
		<category><![CDATA[geospatial]]></category>
		<category><![CDATA[japan]]></category>
		<category><![CDATA[loading]]></category>
		<category><![CDATA[ogc]]></category>
		<category><![CDATA[ogr]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[overviews]]></category>
		<category><![CDATA[postgis]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[pyramid]]></category>
		<category><![CDATA[raster]]></category>
		<category><![CDATA[spatial]]></category>
		<category><![CDATA[wktraster]]></category>

		<guid isPermaLink="false">http://mateusz.loskot.net/?p=623</guid>
		<description><![CDATA[Continuing my tale about loading big raster datasets into PostGIS database with WKT Raster extension, I&#8217;d like to post an update about experience with processing overviews. For testing purposes, I built excessive number of overviews for japan.tif dataset using gdaladdo &#8230; <a href="http://mateusz.loskot.net/2009/06/03/crunching-overviews/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Continuing <a href="/?p=362">my tale</a> about loading big raster datasets into <a href="http://trac.osgeo.org/postgis/">PostGIS</a> database with <a href="http://trac.osgeo.org/postgis/wiki/WKTRaster">WKT Raster</a> extension, I&#8217;d like to post an update about experience with processing overviews.</p>
<p>For testing purposes, I built excessive number of overviews for <a href="/?p=317">japan.tif</a> dataset using <a href="http://">gdaladdo</a> utility:</p>
<pre>$ gdaladdo -r average japan.tif 2 4 8 16 32 64 128</pre>
<p>The command above produced 7 overviews with the following dimensions:</p>
<pre>$ gdalinfo japan_2_4_8_16_32_128.tif | grep -m 1 Ov
Overviews: 7000x7000, 3500x3500, 1750x1750, 875x875, 438x438, 219x219, 110x110</pre>
<p><span id="more-623"></span></p>
<p>Next, I loaded the whole dataset into <a href="/?p=392">PostGIS and WKT Raster enabled database</a> using <a href="http://trac.osgeo.org/postgis/browser/spike/wktraster/scripts">gdal2wktraster</a> utility written in <a href="http://www.python.org/">Python</a> and available to download from the <a href="http://svn.osgeo.org/postgis//spike/wktraster/">WKT Raster repository</a>:</p>
<pre>$ gdal2wktraster.py -r japan.tif -t japan_rb_128 \
  -o japan_rb_128.sql \
  --index --srid 4326 -k -m 128x128 -O -M -v</pre>
<p>I&#8217;ve invented my favourite convention of naming <a href="http://www.postgresql.org/">database</a> tables and here <em>japan_rb_128</em> remembers what was source dataset (<strong>japan</strong>), that the output table is in <a href="http://trac.osgeo.org/postgis/wiki/WKTRaster/SpecificationWorking01#RASTER_COLUMNSMetadataTable">regular blocking</a> mode (_<strong>rb</strong>_) and size of block (tile) is 128&#215;128 pixels (_<strong>128</strong>).</p>
<p>You can find meaning of all the switches by displaying usage message:</p>
<pre>$ gdal2wktraster.py -h</pre>
<p>After, literally, <strong>two hours</strong> of crunching <a href="http://en.wikipedia.org/wiki/Japan">Japan</a>, the script ended with nice summary. It tells how many input raster datasets have been processed and how many database tables will be generated after <em>japan_rb_128.sql</em> is loaded into database as wall as how many blocks (tiles) will be loaded into output table as rows:</p>
<pre>------------------------------------------------------------
 Summary of GDAL to WKT Raster processing:
------------------------------------------------------------
Number of processed raster files: 1
List of generated tables (number of tiles):
1	japan_rb_128 (12100)
2	o_2_japan_rb_128 (3025)
3	o_4_japan_rb_128 (784)
4	o_8_japan_rb_128 (196)
5	o_16_japan_rb_128 (49)
6	o_32_japan_rb_128 (16)
7	o_64_japan_rb_128 (4)
8	o_128_japan_rb_128 (1)</pre>
<p>The script generated output file <em>japan_rb_128.sql</em> of size of <strong>1 593 387 714</strong> bytes and it took 2 hours, so it&#8217;s not a bad idea to leave it overnight, as I did yesterday :-) Disk space occupied by this dataset will estimate around 750 MB.</p>
<p>The SQL file with japan.tif dump is ready to load into the database, but first extra table needs to be created for metadata of overviews, it is <a href="http://trac.osgeo.org/postgis/wiki/WKTRaster/SpecificationWorking01#RASTER_OVERVIEWSMetadataTable">RASTER_OVERVIEWS</a> table:</p>
<pre>CREATE TABLE raster_overviews (
  o_table_catalog character varying(256) NOT NULL,
  o_table_schema character varying(256) NOT NULL,
  o_table_name character varying(256) NOT NULL,
  o_column character varying(256) NOT NULL,
  r_table_catalog character varying(256) NOT NULL,
  r_table_schema character varying(256) NOT NULL,
  r_table_name character varying(256) NOT NULL,
  r_column character varying(256) NOT NULL,
  out_db boolean NOT NULL,
  overview_factor integer NOT NULL,
  CONSTRAINT raster_overviews_pk
  PRIMARY KEY (o_table_catalog, o_table_schema, o_table_name, o_column))</pre>
<p>The RASTER_OVERVIEWS solution was <a href="http://postgis.refractions.net/pipermail/postgis-devel/2009-May/005619.html">proposed</a> by <a href="http://blog.lostinspatial.com/">Martin Daly</a> and officially approved as a part of <a href="http://trac.osgeo.org/postgis/wiki/WKTRaster/SpecificationWorking01">WKT Raster Specification</a>, however it&#8217;s been decided that:</p>
<blockquote><p>No provision is provided, or suggested, for creating, updating, or deleting overviews.</p></blockquote>
<p>That&#8217;s why the <a href="http://www.postgresql.org/docs/8.3/interactive/sql-createtable.html">CREATE TABLE</a> command needs to be issued manually.</p>
<p>Now, everything is ready to load the data.</p>
<pre>psql -d japan -f japan_rb_128.sql</pre>
<p>Tables with overviews are named according to another but simple convention: <em>o_&lt;LEVEL&gt;_&lt;BASE TABLE&gt;</em> where <strong>LEVEL</strong> is the integral overview level (factor) and <strong>BASE TABLE</strong> is name of table in which base raster is stored (<em>japan_rb_128</em> in this example).</p>
<p><a href="http://www.flickr.com/photos/mloskot/3592183460/" title="japan-wktraster-overviews by mloskot, on Flickr"><img src="http://farm4.static.flickr.com/3627/3592183460_73cc3dc011.jpg" width="332" height="435" alt="japan-wktraster-overviews" /></a></p>
<p>Now, the WKT Raster dataset consisting of base raster and 7 overviews is ready for testing.</p>
<p>List of software environment I used to perform the steps explained above:</p>
<ul>
<li>OS: GNU Linux / Ubuntu 9.04 installed as a guest on VirtualBox 2.2.4</li>
<li><a href="http://svn.osgeo.org/geos/">GEOS</a> + <a href="http://svn.osgeo.org/postgis/trunk/">PostGIS</a> + <a href="http://svn.osgeo.org/postgis/spike/wktraster/">WKT Raster</a>: all built and installed from sources available from trunk branches in their SVN repositories.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://mateusz.loskot.net/2009/06/03/crunching-overviews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

