<?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>Using OpenData</title>
	<atom:link href="http://usingopendata.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://usingopendata.wordpress.com</link>
	<description>An exploration of opendata and opensource.</description>
	<lastBuildDate>Fri, 06 Jan 2012 18:36:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='usingopendata.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Using OpenData</title>
		<link>http://usingopendata.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://usingopendata.wordpress.com/osd.xml" title="Using OpenData" />
	<atom:link rel='hub' href='http://usingopendata.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Loading Landform Panorama Data into Postgres/PostGIS.</title>
		<link>http://usingopendata.wordpress.com/2011/03/29/loading-landform-panorama-data-into-postgrespostgis/</link>
		<comments>http://usingopendata.wordpress.com/2011/03/29/loading-landform-panorama-data-into-postgrespostgis/#comments</comments>
		<pubDate>Tue, 29 Mar 2011 11:33:45 +0000</pubDate>
		<dc:creator>Keith Sharp</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Contours]]></category>
		<category><![CDATA[Landform Panorama]]></category>
		<category><![CDATA[Ordnance Survey]]></category>
		<category><![CDATA[PostGIS]]></category>

		<guid isPermaLink="false">http://usingopendata.wordpress.com/?p=33</guid>
		<description><![CDATA[After a break enforced by my relocation from Singapore back to the UK I am now up an running again, so hopefully blog posts should become more regular! I have taken a slight diversion over the last week or so &#8230; <a href="http://usingopendata.wordpress.com/2011/03/29/loading-landform-panorama-data-into-postgrespostgis/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=33&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>After a break enforced by my relocation from Singapore back to the UK I am now up an running again, so hopefully blog posts should become more regular!</p>
<p>I have taken a slight diversion over the last week or so inspired by <a title="Announcement of Landranger style slippy map" href="http://lists.openstreetmap.org/pipermail/talk-gb/2011-March/011101.html">Nick Whitelegg&#8217;s</a> attempts to <a title="Example of a Landranger style slippy map" href="http://www.free-map.org.uk/expts/vmdlfp200/">create a Landranger style map</a> based on the Ordnance Survey <a title="Ordnance Survey Vector Map District Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/products/os-vectormap-district/index.html">Vector Map District</a> and <a title="Ordnance Survey Landform Panorama Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/products/land-form-panorama/index.html">Landform Panorama</a> datasets.  Nick <a title="Methodology for creating a Landranger style map" href="http://lists.openstreetmap.org/pipermail/talk-gb/2011-March/011184.html">posted his methodology</a> to the <a title="Open Street Map" href="http://www.osm.org">OSM </a><a title="Talk-GB Mailing List" href="http://lists.openstreetmap.org/listinfo/talk-gb">talk-gb mailing list</a> and on the <a title="How to create a Landranger style slippy map" href="http://wiki.openstreetmap.org/wiki/VMD_plus_LFP_plus_OSM">wiki</a>.  I had previously looked at importing the Landform Panorama data into a Postgres/PostGIS database and tried to use <a title="ogr2ogr homepage" href="http://www.gdal.org/ogr2ogr.html">ogr2ogr</a> for this task. However I discovered that support for the <a title="DXF File Format" href="http://en.wikipedia.org/wiki/AutoCAD_DXF">DXF file format</a>, which is used by Landform Panorama, did not seem to allow me to extract what I needed.  Nick&#8217;s approach was to write his own <a title="lfp2pg.cpp parser source code" href="http://www.free-map.org.uk/svn/freemap/opendata/lfp2pg.cpp">parser</a> which read the DXF files, extracted the features and data he wanted and then loaded them into the database.</p>
<p>I felt that there were a couple of features missing from Nick&#8217;s code so I worked for a few days to write a more complete parser program modeled along the lines of the <a title="Using shp2pgsql" href="http://postgis.refractions.net/docs/ch04.html#shp2pgsql_usage">shp2pgsql</a> program I used in a <a title="Creating and populating a database" href="http://usingopendata.wordpress.com/2011/01/17/creating-and-populating-a-database/">previous blog post</a>.  My new program is imaginatively called lfp2pgsql and has the following features:</p>
<ul>
<li>Builds using the standard <a title="GNU Autoconf Homepage" href="http://www.gnu.org/software/autoconf/">autoconf</a>/<a title="GNU Automake Homepage" href="http://www.gnu.org/software/automake/">automake</a> system.</li>
<li>Does not connect to the database directly, rather it writes the SQL statements to standard out.</li>
<li>Has the same command line arguments as shp2pgsql allowing the separation of creating a table in the database from the population of the data.</li>
<li>Stores the feature type as well as the height and geometry of the feature.</li>
<li>Stores the Contour, Lake, Breakline, Coastline, Ridgeline, and Formline feature types.</li>
</ul>
<p>The <a title="lfp2pgsql at Github" href="https://github.com/keithsharp/lfp2pgsql">source code</a> is available from <a title="Github Homepage" href="http://www.github.com">Github</a>: <a title="https://github.com/keithsharp/lfp2pgsql" href="https://github.com/keithsharp/lfp2pgsql">https://github.com/keithsharp/lfp2pgsql</a>.  You can download the source using <a title="Git Homepage" href="http://git-scm.com/">git</a> or by clicking on the <a title="Download lfp2pgsql" href="https://github.com/keithsharp/lfp2pgsql/archives/master">download button</a>.  To build the program you need to unpack the source, if you downloaded rather than using git, and then do the following:</p>
<pre>autoreconf --force --install
configure
make</pre>
<p>You should now have a binary in the src directory that you can use to parse the Landform Panorama DXF files.  To load the data into a Postgres/PostGIS database you would do some thing like:</p>
<pre>lfp2pgsql -p -I nn00.dxf contours | psql -d opendata</pre>
<p>which would create the contours tables and an index on the geometry column, then use a shell script for loop to load all the data from the files:</p>
<pre>for FILE in *.dxf; do
    lfp2pgsql -a ${FILE} contours | psql -d opendata
done</pre>
<p>Full details can be found in the <a title="lfp2pgsql README file" href="https://github.com/keithsharp/lfp2pgsql/raw/master/README">README file</a> included in the source.</p>
<p>As an example of what is possible I loaded all of the data for the NN grid area into a database and then used QGIS to render the data:</p>
<div id="attachment_34" class="wp-caption aligncenter" style="width: 650px"><a href="http://usingopendata.files.wordpress.com/2011/03/lfp-final.png"><img class="size-full wp-image-34" title="QGIS Showing Landform Panorama Data" src="http://usingopendata.files.wordpress.com/2011/03/lfp-final.png?w=640&#038;h=390" alt="QGIS Showing Landform Panorama Data" width="640" height="390" /></a><p class="wp-caption-text">QGIS Showing Landform Panorama Data</p></div>
<p>I loaded the data from Postgres using the same technique as I <a title="Visualising data with Quantum GIS" href="http://usingopendata.wordpress.com/2011/01/18/visualising-data-with-quantum-gis/">described in a previous post</a>.</p>
<p>Feedback or bug reports are welcome, either use the comments below or send me an<a title="keith.sharp@gmail.com" href="mailto:keith.sharp@gmail.com"> email</a>.</p>
<br />Filed under: <a href='http://usingopendata.wordpress.com/category/data/'>Data</a>, <a href='http://usingopendata.wordpress.com/category/mapping/'>Mapping</a>, <a href='http://usingopendata.wordpress.com/category/tools/'>Tools</a> Tagged: <a href='http://usingopendata.wordpress.com/tag/contours/'>Contours</a>, <a href='http://usingopendata.wordpress.com/tag/landform-panorama/'>Landform Panorama</a>, <a href='http://usingopendata.wordpress.com/tag/ordnance-survey/'>Ordnance Survey</a>, <a href='http://usingopendata.wordpress.com/tag/postgis/'>PostGIS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/usingopendata.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/usingopendata.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=33&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://usingopendata.wordpress.com/2011/03/29/loading-landform-panorama-data-into-postgrespostgis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>1.299446 103.845164</georss:point>
		<geo:lat>1.299446</geo:lat>
		<geo:long>103.845164</geo:long>
		<media:content url="http://0.gravatar.com/avatar/32d1b5d38dfb61b615761608c43466a9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">keithmsharp</media:title>
		</media:content>

		<media:content url="http://usingopendata.files.wordpress.com/2011/03/lfp-final.png" medium="image">
			<media:title type="html">QGIS Showing Landform Panorama Data</media:title>
		</media:content>
	</item>
		<item>
		<title>Visualising data with Quantum GIS.</title>
		<link>http://usingopendata.wordpress.com/2011/01/18/visualising-data-with-quantum-gis/</link>
		<comments>http://usingopendata.wordpress.com/2011/01/18/visualising-data-with-quantum-gis/#comments</comments>
		<pubDate>Tue, 18 Jan 2011 09:22:40 +0000</pubDate>
		<dc:creator>Keith Sharp</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[QGIS]]></category>
		<category><![CDATA[Strategi]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://usingopendata.wordpress.com/?p=23</guid>
		<description><![CDATA[The first thing that most people want to do with GIS data is to create a visual representation, better known as a map.  I&#8217;m no different, so this blog entry will cover how I hooked up the Quantum GIS application &#8230; <a href="http://usingopendata.wordpress.com/2011/01/18/visualising-data-with-quantum-gis/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=23&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The first thing that most people want to do with GIS data is to create a <a title="Cartography" href="http://en.wikipedia.org/wiki/Cartography">visual representation</a>, better known as a <a title="Maps" href="http://en.wikipedia.org/wiki/Map">map</a>.  I&#8217;m no different, so this <a title="Using OpenData" href="http://usingopendata.wordpress.com/">blog</a> entry will cover how I hooked up the <a title="Quantum GIS Website" href="http://www.qgis.org/">Quantum GIS application</a> to the <a title="Creating and populating a database" href="http://usingopendata.wordpress.com/2011/01/17/creating-and-populating-a-database/">PostGIS database I created previously</a>.</p>
<p>I started by examining the data that I had loaded into the database.  This ability to run fairly standard <a title="SQL Queries" href="http://en.wikipedia.org/wiki/SQL">SQL queries</a> against my spatial data is one of the main strengths of using a spacial database.  Having read the <a title="Ordnance Survey Strategi Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/strategi/">Strategi documentation</a> I knew that there were two columns in each table that I was interested in: code: a numeric feature type identifier and legend: an English language description of the feature type.  For example I ran the following SQL against the strategi_region table:</p>
<pre>opendata=# SELECT DISTINCT code, legend FROM strategi_region ;
 code |                legend                 
------+---------------------------------------
 5122 | Foreshore - other MLW exposed polygon
 5250 | Lake / other inland water polygon
 5120 | Foreshore - sand polygon
 5610 | Wood / Forest polygon
 5422 | Small Urban Area polygon
 5420 | Large Urban Area polygon
(6 rows)</pre>
<p>This simple SQL statement selects the code and legend columns from the strategi_region table, and the DISTINCT keyword limits the query to returning only a single row for each match.  The output shows that there are 6 different types of feature stored in the table.  I ran the same query on the strategi_line and strategi_point tables returning 73 and 89 features respectively.</p>
<p>Once I knew what the data in my database represented I could turn my attention to creating a map.  As a first step I decided to use the <a title="Quantum GIS" href="http://www.qgis.org/">Quantum GIS (QGIS)</a> desktop GIS application.  To install QGIS I used yum from the command line:</p>
<pre>sudo yum install qgis</pre>
<p>With QGIS installed I launched the program from Applications Menu -&gt; Graphics -&gt; Quantum GIS.  When QGIS launched I was presented with a fairly typical application layout: menus across the top, a toolbar, and then a couple of blank areas where the data would be represented.  For more details on the QGIS interface and capabilities have a look at the <a title="Quantum GIS Manual" href="http://download.osgeo.org/qgis/doc/manual/qgis-1.6.0_user_guide_en.pdf">manual (PDF)</a>.</p>
<p class="wp-caption-dt">There are a number of ways to add a new PostGIS layer to QGIS (see the manual for details).  I used the menu option: Layer -&gt; Add PostGIS Layer.  This launches a new window:</p>
<div id="attachment_24" class="wp-caption aligncenter" style="width: 650px"><a href="http://usingopendata.files.wordpress.com/2011/01/screenshot-add-postgis-tables.png"><img class="size-full wp-image-24" title="Screenshot-Add PostGIS Table(s)" src="http://usingopendata.files.wordpress.com/2011/01/screenshot-add-postgis-tables.png?w=640&#038;h=614" alt="" width="640" height="614" /></a><p class="wp-caption-text">Add PostGIS Layer</p></div>
<p>The first thing I did was to configure a new database connection by clicking on the New button and filling in the details in the resulting window:</p>
<div id="attachment_25" class="wp-caption aligncenter" style="width: 370px"><a href="http://usingopendata.files.wordpress.com/2011/01/screenshot-create-a-new-postgis-connection.png"><img class="size-full wp-image-25" title="Screenshot-Create a New PostGIS connection" src="http://usingopendata.files.wordpress.com/2011/01/screenshot-create-a-new-postgis-connection.png?w=640" alt=""   /></a><p class="wp-caption-text">New database connection</p></div>
<p>The fields should be pretty self explanatory, the username and password are those I entered when I <a title="Creating and populating a database" href="http://usingopendata.wordpress.com/2011/01/17/creating-and-populating-a-database/">created my database user previously</a>.  I unselected the &#8220;Allow geometryless tables&#8221; option as this reduces the clutter on later screens by only showing tables with geometry columns.  Once I filled in the details I clicked the Test Connect button which confirmed my setup was working, then I clicked OK.</p>
<p>I was then returned to the Add PostGIS Table(s) window where the connect button was now enabled.  Clicking on this button showed me the tables in my database that had geometry:</p>
<div id="attachment_26" class="wp-caption aligncenter" style="width: 650px"><a href="http://usingopendata.files.wordpress.com/2011/01/screenshot-add-postgis-tables-1.png"><img class="size-full wp-image-26" title="Screenshot-Add PostGIS Table(s)-1" src="http://usingopendata.files.wordpress.com/2011/01/screenshot-add-postgis-tables-1.png?w=640&#038;h=614" alt="" width="640" height="614" /></a><p class="wp-caption-text">Connected to the database</p></div>
<p>Selecting the strategi_line table allows me to click on the Build Query button which launches the query builder window:</p>
<div id="attachment_27" class="wp-caption aligncenter" style="width: 650px"><a href="http://usingopendata.files.wordpress.com/2011/01/screenshot-query-builder.png"><img class="size-full wp-image-27" title="Screenshot-Query Builder" src="http://usingopendata.files.wordpress.com/2011/01/screenshot-query-builder.png?w=640&#038;h=555" alt="" width="640" height="555" /></a><p class="wp-caption-text">The query builder window</p></div>
<p>From the screenshot you can see that I&#8217;ve started to build an SQL query to select a subset of the data in the table.  In this example I&#8217;m selecting on code = 5110, this is the code for Coastline (Natural).  Clicking on the Test button pops up a window telling me how many rows are returned by the query and I then click on OK.  Back in the Add PostGIS Table(s) window clicking on Add finally adds my new layer to QGIS and gives me a map with an outline of the UK:</p>
<div id="attachment_28" class="wp-caption aligncenter" style="width: 640px"><a href="http://usingopendata.files.wordpress.com/2011/01/screenshot-quantum-gis-rexported.png"><img class="size-full wp-image-28" title="Screenshot-Quantum GIS rexported" src="http://usingopendata.files.wordpress.com/2011/01/screenshot-quantum-gis-rexported.png?w=640" alt=""   /></a><p class="wp-caption-text">Showing the coastline of the UK</p></div>
<p>I renamed the layer by right clicking on the layer name and selecting Rename from the context menu, I also changed the line colour by right clicking on the layer name and selecting Properties from the context menu.  I then went ahead and added a number of  other layers from PostGIS by repeating the previous steps but selecting for different feature codes.  An excerpt from the resulting map:</p>
<div id="attachment_29" class="wp-caption aligncenter" style="width: 374px"><a href="http://usingopendata.files.wordpress.com/2011/01/qgis-strategi.jpg"><img class="size-full wp-image-29" title="qgis-strategi" src="http://usingopendata.files.wordpress.com/2011/01/qgis-strategi.jpg?w=640" alt=""   /></a><p class="wp-caption-text">Map excerpt showing Loch Lomond, coastline, rivers, canals, and woodland</p></div>
<p>When adding the additional layers I combined feature codes using the boolean functions in SQL, for example there are three sequential codes that cover the polylines that represent canals: 5240, 5241, and 5242.  So in query builder my SQL looked like:</p>
<pre>"code" &gt;= '5240' AND "code" &lt;= '5422'</pre>
<p>I like the simplicity of creating a map with QGIS, but I feel the styling of the map is cumbersome and limited.  Next I&#8217;m going to try to create a more complex map using <a title="Mapnik C++/Python GIS Toolkit" href="http://mapnik.org/">Mapnik</a> to render the image.</p>
<br />Filed under: <a href='http://usingopendata.wordpress.com/category/data/'>Data</a>, <a href='http://usingopendata.wordpress.com/category/mapping/'>Mapping</a>, <a href='http://usingopendata.wordpress.com/category/tools/'>Tools</a> Tagged: <a href='http://usingopendata.wordpress.com/tag/download/'>Download</a>, <a href='http://usingopendata.wordpress.com/tag/installation/'>Installation</a>, <a href='http://usingopendata.wordpress.com/tag/postgis/'>PostGIS</a>, <a href='http://usingopendata.wordpress.com/tag/qgis/'>QGIS</a>, <a href='http://usingopendata.wordpress.com/tag/strategi/'>Strategi</a>, <a href='http://usingopendata.wordpress.com/tag/yum/'>Yum</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/usingopendata.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/usingopendata.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=23&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://usingopendata.wordpress.com/2011/01/18/visualising-data-with-quantum-gis/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<georss:point>1.299446 103.845164</georss:point>
		<geo:lat>1.299446</geo:lat>
		<geo:long>103.845164</geo:long>
		<media:content url="http://0.gravatar.com/avatar/32d1b5d38dfb61b615761608c43466a9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">keithmsharp</media:title>
		</media:content>

		<media:content url="http://usingopendata.files.wordpress.com/2011/01/screenshot-add-postgis-tables.png" medium="image">
			<media:title type="html">Screenshot-Add PostGIS Table(s)</media:title>
		</media:content>

		<media:content url="http://usingopendata.files.wordpress.com/2011/01/screenshot-create-a-new-postgis-connection.png" medium="image">
			<media:title type="html">Screenshot-Create a New PostGIS connection</media:title>
		</media:content>

		<media:content url="http://usingopendata.files.wordpress.com/2011/01/screenshot-add-postgis-tables-1.png" medium="image">
			<media:title type="html">Screenshot-Add PostGIS Table(s)-1</media:title>
		</media:content>

		<media:content url="http://usingopendata.files.wordpress.com/2011/01/screenshot-query-builder.png" medium="image">
			<media:title type="html">Screenshot-Query Builder</media:title>
		</media:content>

		<media:content url="http://usingopendata.files.wordpress.com/2011/01/screenshot-quantum-gis-rexported.png" medium="image">
			<media:title type="html">Screenshot-Quantum GIS rexported</media:title>
		</media:content>

		<media:content url="http://usingopendata.files.wordpress.com/2011/01/qgis-strategi.jpg" medium="image">
			<media:title type="html">qgis-strategi</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating and populating a database.</title>
		<link>http://usingopendata.wordpress.com/2011/01/17/creating-and-populating-a-database/</link>
		<comments>http://usingopendata.wordpress.com/2011/01/17/creating-and-populating-a-database/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 14:32:02 +0000</pubDate>
		<dc:creator>Keith Sharp</dc:creator>
				<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Ordnance Survey]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[Shapefile]]></category>

		<guid isPermaLink="false">http://usingopendata.wordpress.com/?p=17</guid>
		<description><![CDATA[Once I had installed PostGIS it was relative simple to create a spatial database instance.  For convenience the first thing I did was create a database user with the same name as my Linux username.  This means that the default &#8230; <a href="http://usingopendata.wordpress.com/2011/01/17/creating-and-populating-a-database/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=17&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Once I had <a title="Getting the tools" href="http://usingopendata.wordpress.com/2011/01/14/getting-the-tools/">installed PostGIS</a> it was relative simple to create a <a title="Spatial Database" href="http://en.wikipedia.org/wiki/Spatial_database">spatial database</a> instance.  For convenience the first thing I did was create a database user with the same name as my Linux username.  This means that the default Postgres authentication system will just work transparently:</p>
<pre>sudo -u postgres /usr/bin/createuser -s -e -P kms</pre>
<p>If you run this command as is you&#8217;ll be prompted to enter a password for the newly created user, this is not strictly necessary for what I&#8217;ll be doing today, but it will be needed as I install and configure tools to use the database.  You should also note that this command will grant this user superuser privileges across the entire Postgres installation, you probably shouldn&#8217;t do this on a production system.</p>
<p>The next four commands create and then configure the database:</p>
<pre>createdb -e opendata
createlang -e plpgsql opendata
psql -d opendata -f /usr/share/pgsql/contrib/postgis-1.5/postgis.sql
psql -d opendata -f /usr/share/pgsql/contrib/postgis-1.5/spatial_ref_sys.sql</pre>
<p>The first command creates the database, which I&#8217;ve chosen to call &#8220;opendata&#8221;.  The next command configures the new database to support the PL/pgSQL programming language which is used by the functions that make up PostGIS.  The third command loads the PostGIS functions.  Finally the fourth command creates an new table in the database called spatial_ref_sys which holds information about different spatial reference systems and allows us to use database functions to transform between these systems.  Note that I&#8217;ve given the first two commands the -e flag, this forces the commands to echo the SQL statements to the console so you can see what&#8217;s happening.</p>
<p>To confirm that the database has been created I connected using the psql command and listed the tables:</p>
<pre>$ psql -d opendata
psql (8.4.6)
Type "help" for help.

opendata=# \d
 List of relations
 Schema |       Name        | Type  | Owner
--------+-------------------+-------+-------
 public | geography_columns | view  | kms
 public | geometry_columns  | table | kms
 public | spatial_ref_sys   | table | kms
(3 rows)

opendata=#</pre>
<p>The <a title="Strategi Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/strategi/">OS OpenData Strategi shapefile dataset</a> that I <a title="Obtaining some data" href="http://usingopendata.wordpress.com/2011/01/15/obtaining-some-data/">previously downloaded</a> arrives as a Zip file.  Unzipping this gives me a top level folder called Strategi Shape.  Under this are three directories: data, doc, and gazetteer.  I&#8217;m going to ignore the gazetteer data for the time being, and the doc directory contains README files and licencing information.</p>
<p>The data directory contains two sub-directories: GB_NORTH and GB_SOUTH.  These directories contain the actual shapefiles.  The shapefiles contain three different types of geometric data: LINES, POLYGONS, and POINTS, the first step is to create a table for each data type:</p>
<pre>cd /path/to/Strategi\ Shape/data/GB_NORTH/
shp2pgsql -p -I -s 27700 admin_polyline strategi_line | psql -d opendata
shp2pgsql -p -I -s 27700 admin_font_point strategi_point | psql -d opendata
shp2pgsql -p -I -s 27700 foreshor_region strategi_region | psql -d opendata</pre>
<p>Replace &#8220;/path/to/&#8221; with the path to your unzipped data.  The -p flag to shp2pgsql triggers prepare mode, in this mode shp2pgsql only creates the tables and does not populate them.  The -I flags creates an index on the geometry column in the table.  You could do this as a separate step, but it&#8217;s convenient to do it here.  Finally the -s 27700 instructs PostGIS about the datum our data is using, in this case <a title="Ordnance Survey National Grid" href="http://en.wikipedia.org/wiki/Ordnance_Survey_National_Grid">OSGB36</a>.  I&#8217;m planning a further article to go into the whole datum thing in more detail.</p>
<p>Notice that the output of shp2pgsql is piped into the psql command.  This is because the output of shp2pgsql is a sequence of SQL commands that create and/or populate the database.  If you chop off the pipe and the psql command you&#8217;ll see the SQL echoed to your screen.</p>
<p>At this point I can connect to the database again using psql and examine the tables that have been created:</p>
<pre>opendata=# \d
 List of relations
 Schema |          Name           |   Type   | Owner
--------+-------------------------+----------+-------
 public | geography_columns       | view     | kms
 public | geometry_columns        | table    | kms
 public | spatial_ref_sys         | table    | kms
 public | strategi_line           | table    | kms
 public | strategi_line_gid_seq   | sequence | kms
 public | strategi_point          | table    | kms
 public | strategi_point_gid_seq  | sequence | kms
 public | strategi_region         | table    | kms
 public | strategi_region_gid_seq | sequence | kms
(9 rows)</pre>
<p>This is where I ran into a problem.  While trying to populate the point table I kept getting constraint errors.  After battering at the problem for a couple of hours I turned to the <a title="GIS Stack Exchange" href="http://gis.stackexchange.com/">GIS Stack Exchange website</a> for help.  This is an excellent resource for those wanting to ask questions (or provide answers) on issues about GIS.  After a little bit if <a title="Problem loading OS OpenData multipoint shapefile into PostGIS" href="http://gis.stackexchange.com/questions/5213/problem-loading-os-opendata-multipoint-shapefile-into-postgis">investigation and discussion</a> user amercader came up with the answer.  There was a mismatch between the geometry that shp2pgsql was using to create the table (MULTIPOINT) and the geometry of the data that it was trying to load (POINT).</p>
<p>The <a title="Fixing the MULTIPOINT/POINT problem" href="http://gis.stackexchange.com/questions/5213/problem-loading-os-opendata-multipoint-shapefile-into-postgis/5219#5219">solution</a> was to drop the table from the database, re-run the shp2pgsql command to create the database but direct the output to a file rather than passing straight to psql:</p>
<pre>$ shp2pgsql -p -I -s 27700 admin_font_point strategi_point &gt; create_point.sql
Shapefile type: MultiPoint
Postgis type: MULTIPOINT[2]</pre>
<p>I then edited the resulting SQL to change the geometry in the third last line to be POINT rather than MULTIPOINT:</p>
<pre>SELECT AddGeometryColumn('','strategi_point','the_geom','27700','POINT',2);</pre>
<p>I then loaded this SQL into the database using psql:</p>
<pre>psql -d opendata -f create_point.sql</pre>
<p>With the tables set up I could then write a short shell script to load each of the shapefiles into the correct table:</p>
<pre>#!/bin/sh
cd /path/to/Strategi\ Shape/data/GB_NORTH/
for F in `ls *.shp | grep polyline`; do
    B=`basename ${F} .shp`
    shp2pgsql -a -s 27700 ${B} strategi_line | psql -d opendata
done
for F in `ls *.shp | grep point`; do
    B=`basename ${F} .shp`
    shp2pgsql -a -s 27700 ${B} strategi_point | psql -d opendata
done
for F in `ls *.shp | grep region`; do
    B=`basename ${F} .shp`
    shp2pgsql -a -s 27700 ${B} strategi_region | psql -d opendata
done
cd ../GB_SOUTH/
for F in `ls *.shp | grep polyline`; do
    B=`basename ${F} .shp`
    shp2pgsql -a -s 27700 ${B} strategi_line | psql -d opendata
done
for F in `ls *.shp | grep point`; do
    B=`basename ${F} .shp`
    shp2pgsql -a -s 27700 ${B} strategi_point | psql -d opendata
done
for F in `ls *.shp | grep region`; do
    B=`basename ${F} .shp`
    shp2pgsql -a -s 27700 ${B} strategi_region | psql -d opendata
done</pre>
<p>This could take some time to complete depending on how fast your machine and disks are, but once it&#8217;s done that&#8217;s the database set up and the data loaded.  The -a flag tells shp2pgsql to append the data rather than the default which is to drop the existing table and then load the new data.  To check that the data has been loaded I counted the rows in each table:</p>
<pre>opendata=# SELECT COUNT(*) FROM strategi_line;
 count  
--------
 318204
(1 row)

opendata=# SELECT COUNT(*) FROM strategi_point;
 count  
--------
 372071
(1 row)

opendata=# SELECT COUNT(*) FROM strategi_region;
 count 
-------
 42943
(1 row)</pre>
<p>Finally to optimize the query plan I ran the VACUUM ANALYZE command in psql.</p>
<p>The next step is to actually use the data, hopefully I&#8217;ll get to that later in the week.</p>
<br />Filed under: <a href='http://usingopendata.wordpress.com/category/mapping/'>Mapping</a>, <a href='http://usingopendata.wordpress.com/category/tools/'>Tools</a> Tagged: <a href='http://usingopendata.wordpress.com/tag/ordnance-survey/'>Ordnance Survey</a>, <a href='http://usingopendata.wordpress.com/tag/postgis/'>PostGIS</a>, <a href='http://usingopendata.wordpress.com/tag/shapefile/'>Shapefile</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/usingopendata.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/usingopendata.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=17&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://usingopendata.wordpress.com/2011/01/17/creating-and-populating-a-database/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<georss:point>1.299446 103.845164</georss:point>
		<geo:lat>1.299446</geo:lat>
		<geo:long>103.845164</geo:long>
		<media:content url="http://0.gravatar.com/avatar/32d1b5d38dfb61b615761608c43466a9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">keithmsharp</media:title>
		</media:content>
	</item>
		<item>
		<title>Obtaining some data.</title>
		<link>http://usingopendata.wordpress.com/2011/01/15/obtaining-some-data/</link>
		<comments>http://usingopendata.wordpress.com/2011/01/15/obtaining-some-data/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 03:48:41 +0000</pubDate>
		<dc:creator>Keith Sharp</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Ordnance Survey]]></category>
		<category><![CDATA[Shapefile]]></category>
		<category><![CDATA[Strategi]]></category>

		<guid isPermaLink="false">http://usingopendata.wordpress.com/?p=12</guid>
		<description><![CDATA[Now that I&#8217;ve got my base Linux installation up and running, and installed the central PostgreSQL database, I need to download some OpenData to process.  As I mentioned in my first post my main interest is in GIS and cartography &#8230; <a href="http://usingopendata.wordpress.com/2011/01/15/obtaining-some-data/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=12&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Now that I&#8217;ve got my <a title="Using OpenData - Getting the tools" href="http://usingopendata.wordpress.com/2011/01/14/getting-the-tools/">base Linux installation up and running</a>, and installed the central PostgreSQL database, I need to download some OpenData to process.  As I mentioned in my <a title="Using OpenData - Hello and welcome" href="http://usingopendata.wordpress.com/2011/01/13/hello-and-welcome/">first post</a> my main interest is in GIS and cartography so I&#8217;m going to use the datasets released by the <a title="Ordnance Survey Website" href="http://www.ordnancesurvey.co.uk/">Ordnance Survey</a> under their <a title="Ordnance Survey OpenData" href="http://www.ordnancesurvey.co.uk/oswebsite/opendata/">OpenData program</a>.</p>
<p>The Ordnance Survey (or OS) <a title="Ordnance Survey OpenData announcement" href="http://www.ordnancesurvey.co.uk/oswebsite/media/news/2010/April/OpenData.html">created the OpenData program</a> to release and manage a number of different data sets under a free licence.  This process was initiated by the Brown Labour Government who initiated a <a title="Ordnance Survey Policy Options" href="http://www.communities.gov.uk/publications/corporate/ordnancesurveyconsultation">consultation process</a> to determine what the impact of freeing up different OS datasets would be.</p>
<p>The datasets that are <a title="Ordnance Survey OpenData Download" href="https://www.ordnancesurvey.co.uk/opendatadownload/products.html">currently available</a> are:</p>
<ol>
<li><a title="MiniScale Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/products/miniscale/">MiniScale</a> a small scale raster dataset.</li>
<li><a title="1:250000 Colour Raster Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/250kraster/">1:250000 Scale Colour</a> raster dataset.</li>
<li><a title="Street View Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/streetview/">OS Street View</a> a 1:10000 scale street level digital colour raster dataset.</li>
<li><a title="Boundary Line Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/boundaryline/">Boundary Lines</a> a vector dataset of local government administrative boundaries.</li>
<li><a title="Code Point Open Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/products/code-point-open/index.html">Code Point Open</a> a postcode to location reference in CSV format.</li>
<li><a title="1:50000 Scale Gazetteer Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/50kgazetteer">1:50000 Scale Gazetteer</a> in colon separated ASCII text format.</li>
<li><a title="Strategi Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/strategi/">Strategi</a> a small scale vector dataset companion to the 1:250000 raster dataset.</li>
<li><a title="Meridian 2 Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/meridian2/">Meridian 2</a> a mid-scale vector dataset focusing on topography and communications.</li>
<li><a title="OS Locator Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/products/os-locator-opendata/index.html">OS Locator</a> a gazetteer of road names in colon separated ASCII text format.</li>
<li><a title="Land-Form PANORAMA Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/products/landformpanorama/">Land-Form PANORAMA</a> a vector and grid dataset of contours and spot heights.</li>
<li><a title="OS VectorMap District Ordnance Survey Product Page" href="http://www.ordnancesurvey.co.uk/oswebsite/products/vectormap/district/index.html">OS VectorMap District</a> a larger scale dataset available as both raster and vector.</li>
</ol>
<p>I&#8217;ve decided to start out by looking at the Strategi vector dataset.  To download the data:</p>
<ol>
<li>Go to the <a title="Ordnance Survey OpenData Download" href="https://www.ordnancesurvey.co.uk/opendatadownload/products.html">OS OpenData Supply page</a></li>
<li>Scroll down to the Strategi dataset</li>
<li>Select the format as <a title="ESRI Shapefile" href="http://en.wikipedia.org/wiki/Shapefile">ESRI Shape</a></li>
<li>Tick the right hand box for download (unless you want a CD)</li>
<li>Scroll to the bottom of the page and click next</li>
<li>Fill in the form as appropriate and click continue</li>
</ol>
<p>A few minutes later I got an email in my in box with a link that is valid for three days to allow me to download a zip file of my data.</p>
<br />Filed under: <a href='http://usingopendata.wordpress.com/category/data/'>Data</a>, <a href='http://usingopendata.wordpress.com/category/mapping/'>Mapping</a> Tagged: <a href='http://usingopendata.wordpress.com/tag/download/'>Download</a>, <a href='http://usingopendata.wordpress.com/tag/ordnance-survey/'>Ordnance Survey</a>, <a href='http://usingopendata.wordpress.com/tag/shapefile/'>Shapefile</a>, <a href='http://usingopendata.wordpress.com/tag/strategi/'>Strategi</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/usingopendata.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/usingopendata.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=12&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://usingopendata.wordpress.com/2011/01/15/obtaining-some-data/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>1.304925 103.836842</georss:point>
		<geo:lat>1.304925</geo:lat>
		<geo:long>103.836842</geo:long>
		<media:content url="http://0.gravatar.com/avatar/32d1b5d38dfb61b615761608c43466a9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">keithmsharp</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting the tools.</title>
		<link>http://usingopendata.wordpress.com/2011/01/14/getting-the-tools/</link>
		<comments>http://usingopendata.wordpress.com/2011/01/14/getting-the-tools/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 05:37:16 +0000</pubDate>
		<dc:creator>Keith Sharp</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[PostGIS]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://usingopendata.wordpress.com/?p=8</guid>
		<description><![CDATA[The basic tool that I am planning on using is the Fedora Linux Distribution.  At the time of writing the current version is Fedora 14.  There are lots of options available for downloading and installing Fedora, a detailed explanation of &#8230; <a href="http://usingopendata.wordpress.com/2011/01/14/getting-the-tools/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=8&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>The basic tool that I am planning on using is the <a title="Fedora Homepage" href="http://fedoraproject.org/">Fedora Linux Distribution</a>.  At the time of writing the current version is Fedora 14.  There are lots of options available for <a title="Getting Fedora" href="https://fedoraproject.org/get-fedora">downloading and installing</a> Fedora, a detailed explanation of how to go about installing Linux is beyond the scope of this blog.  If you&#8217;re not familiar with Linux then I would suggest starting by downloading and creating a <a title="Fedora Live CD Wiki Page" href="http://fedoraproject.org/wiki/FedoraLiveCD">Fedora Live CD</a>, and then moving onto the <a title="Fedora Install Guide" href="http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/index.html">installation documentation</a>.</p>
<p>Fedora has a <a title="Fedora GIS SIG" href="http://fedoraproject.org/wiki/GIS">GIS special interest group</a> that have already packaged a number of GIS tools.  This means that I can largely just use the <a title="Fedora YUM Documentation" href="http://docs.fedoraproject.org/en-US/Fedora/14/html/User_Guide/sect-User_Guide-Managing_software-Using_the_command_line_interface.html">yum command</a> to download and install the tools and any dependencies.  There some tools on the <a title="Fedora GIS SIG Package Wish List" href="http://fedoraproject.org/wiki/GIS#Wishlist_and_interesting_apps">GIS SIG wish list</a> that I may look at later, using these will require more effort as I&#8217;ll have to download the source and then build and install the tools and any dependencies.</p>
<p>The central tool to pretty much all of my use of OpenData will be a database.  I&#8217;ve chosen to use the <a title="PostgreSQL Homepage" href="http://www.postgresql.org/">PostgreSQL database</a>.  There are two main reasons for this:</p>
<ol>
<li>PostgreSQL is packaged and available for Fedora.</li>
<li>There is an extension to PostgreSQL call <a title="PostGIS Homepage" href="http://www.postgis.org/">PostGIS</a> which adds <a title="Spatial Databases" href="http://en.wikipedia.org/wiki/Spatial_database">spatial</a> support to the database.</li>
</ol>
<p>To  install PostgreSQL and PostGIS I just use yum from the command line:</p>
<pre>$ sudo yum install postgresql-server postgis</pre>
<p>You should see text scroll past on your screen as yum works out what dependencies are needed for these two packages.  Exactly what these dependencies are will vary depending on which packages you chose during system installation.  Yum will then prompt you to allow it to go ahead and download and install the packages.</p>
<p>Once PostgreSQL is installed I need to start the database system.  Prior to starting PostgreSQL for the first time I need to initialise the database:</p>
<pre>$ sudo service postgresql initdb</pre>
<p>Once the initialisation has completed I can start the database:</p>
<pre>$ sudo service postgresql start</pre>
<p>The database should now be up and running.  There&#8217;s one last, optional, thing to do.  I know that I&#8217;m going to be using PostgreSQL a lot, so I want to configure the system to start PostgreSQL automatically when the system boots:</p>
<pre>$ sudo chkconfig postgresql on</pre>
<p>And that&#8217;s it.  There&#8217;s a little more to do to configure PostGIS when I actually create a database instance, but I&#8217;ll cover that once I&#8217;ve explained how to get the data to populate the database.</p>
<br />Filed under: <a href='http://usingopendata.wordpress.com/category/tools/'>Tools</a> Tagged: <a href='http://usingopendata.wordpress.com/tag/fedora/'>Fedora</a>, <a href='http://usingopendata.wordpress.com/tag/installation/'>Installation</a>, <a href='http://usingopendata.wordpress.com/tag/postgis/'>PostGIS</a>, <a href='http://usingopendata.wordpress.com/tag/postgresql/'>PostgreSQL</a>, <a href='http://usingopendata.wordpress.com/tag/yum/'>Yum</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/usingopendata.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/usingopendata.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=8&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://usingopendata.wordpress.com/2011/01/14/getting-the-tools/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<georss:point>1.304925 103.836842</georss:point>
		<geo:lat>1.304925</geo:lat>
		<geo:long>103.836842</geo:long>
		<media:content url="http://0.gravatar.com/avatar/32d1b5d38dfb61b615761608c43466a9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">keithmsharp</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello and welcome.</title>
		<link>http://usingopendata.wordpress.com/2011/01/13/hello-and-welcome/</link>
		<comments>http://usingopendata.wordpress.com/2011/01/13/hello-and-welcome/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 03:51:11 +0000</pubDate>
		<dc:creator>Keith Sharp</dc:creator>
				<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://usingopendata.wordpress.com/?p=1</guid>
		<description><![CDATA[Hello and welome to my new blog.  As it says on the about page, the purpose of this blog is to document my exploration of the growing amount of free and open data that is available through the Internet.  I&#8217;ll also be &#8230; <a href="http://usingopendata.wordpress.com/2011/01/13/hello-and-welcome/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=1&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Hello and welome to my new blog.  As it says on the <a title="About the Using OpenData Blog" href="http://usingopendata.wordpress.com/about">about</a> page, the purpose of this blog is to document my exploration of the growing amount of free and open data that is available through the Internet.  I&#8217;ll also be taking a look at free and opensource tools that help with the processing, analysis, and visualisation of the data that&#8217;s out there.</p>
<p>One of my main interests at the moment is <a title="Geographic Information Systems" href="http://en.wikipedia.org/wiki/GIS">GIS</a> and <a title="Cartography - making maps" href="http://en.wikipedia.org/wiki/Cartography">cartography</a>, so in the main that&#8217;s the area I&#8217;ll be focusing on.</p>
<p>Given that this is a hobby that I tinker with in my spare time, updates could be sporadic as my availability and interest ebbs and flows.</p>
<br />Filed under: <a href='http://usingopendata.wordpress.com/category/meta/'>Meta</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/usingopendata.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/usingopendata.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=usingopendata.wordpress.com&#038;blog=19087679&#038;post=1&#038;subd=usingopendata&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://usingopendata.wordpress.com/2011/01/13/hello-and-welcome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/32d1b5d38dfb61b615761608c43466a9?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">keithmsharp</media:title>
		</media:content>
	</item>
	</channel>
</rss>
