<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.dankarran.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Wikipedia</title>
 <link>http://www.dankarran.com/blog/tags/wikipedia</link>
 <description>Latest items from dankarran.com</description>
 <language>en</language>
<item>
 <title>Making maps from OpenStreetMap geodata</title>
 <link>http://www.dankarran.com/blog/2008/09/making-maps-from-openstreetmap-geodata</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Image:Isle_of_Man_TT_Course_(OpenStreetMap).svg&quot;&gt;&lt;img alt=&quot;Snaefell Mountain Course - Isle of Man TT outline map&quot; src=&quot;http://www.dankarran.com/sites/dankarran.com/files/blog/map-isleofman-1-500000-250px.png&quot; width=&quot;250&quot; height=&quot;305&quot; align=&quot;right&quot; hspace=&quot;6&quot; vspace=&quot;6&quot; /&gt;&lt;/a&gt;I spent some time last year &lt;a href=&quot;http://www.dankarran.com/blog/archives/2007/05/10/wikipedia_gets_manx_road_maps.php&quot;&gt;making some maps of the Snaefell Mountain Course&lt;/a&gt; (and other roads) on the Isle of Man so that I could add an overview map to the &lt;a href=&quot;http://en.wikipedia.org/wiki/Snaefell_Mountain_Course&quot;&gt;Wikipedia entry for the course&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Last night I was trying out some of the options in the OpenStreetMap &lt;a href=&quot;http://www.openstreetmap.org/&quot;&gt;&#039;export&#039; tab&lt;/a&gt;, and since it can now export SVG (scalable vector graphics) files, I thought I&#039;d have a try at redoing the maps from last year in a more re-usable and editable form using vector graphics instead of bitmaps.&lt;/p&gt;
&lt;p&gt;To make &lt;a href=&quot;http://en.wikipedia.org/wiki/Image:Isle_of_Man_TT_Course_(OpenStreetMap).svg&quot;&gt;the SVG map&lt;/a&gt; using data from OpenStreetMap (as shown in the preview), I just followed some relatively simple steps and a little trial and error while using the graphics editor. &lt;/p&gt;
&lt;p&gt;I thought I&#039;d share some of the steps below, in case anybody else was interested in making maps from the great data becoming available in the OpenStreetMap project.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;So, what&#039;s needed to make your own custom maps?&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;em&gt;An area of OpenStreetMap that&#039;s got enough information in it to be useful for your purpose.&lt;/em&gt;&lt;br /&gt;
If the data you want is not all there, or you want to add more, see the &lt;a href=&quot;http://wiki.openstreetmap.org/index.php/Beginners%27_Guide&quot;&gt;beginners&#039; guide&lt;/a&gt; and the &lt;a href=&quot;http://wiki.openstreetmap.org/index.php/Map_Making_Overview&quot;&gt;map making guide&lt;/a&gt; to get you started off adding or improving data in the project.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;An SVG image generated from OpenStreetMap using the export tab.&lt;/em&gt;&lt;br /&gt;
To export your vector graphic file, zoom the &lt;a href=&quot;http://www.openstreetmap.org&quot;&gt;main map&lt;/a&gt; into the area you want to export, click on the export tab, tweak the area you&#039;re interested in (if necessary), select &#039;Mapnik image&#039; and &#039;SVG&#039; from the options and click Export. Experiment with the scale to see what the results are, but initially the default scale will probably suffice.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;A vector graphics editor such as &lt;a href=&quot;http://www.adobe.com/products/illustrator/&quot;&gt;Adobe Illustrator&lt;/a&gt; or, even better, an open source editor such as &lt;a href=&quot;http://www.inkscape.org/&quot;&gt;Inkscape&lt;/a&gt;.&lt;/em&gt;&lt;br /&gt;
Open the downloaded SVG file in your editor and you should see a nice pretty OpenStreetMap image there. To start to work on it, it&#039;s a good idea to &#039;ungroup&#039; the items so that you can edit them individually (I had to do this twice to fully separate out all the objects). You&#039;ll notice that the map is made up of many objects, one for each node and way you&#039;d normally see rendered on the maps at &lt;a href=&quot;http://www.openstreetmap.org&quot;&gt;openstreetmap.org&lt;/a&gt;. You&#039;ll also notice that text annotations (names, road references, etc.) are all broken down to their constituent characters too.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Some time to do some (at times quite fiddly) image editing and map making.&lt;/em&gt;&lt;br /&gt;
You can get some results out in a relatively short timeframe, but you&#039;ll likely want to improve the map over time as you become more familiar with the data and tools available.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;What steps were needed to create the TT map?&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select all the items and fade them (I lowered the level of transparency, but there are probably better ways of doing it).&lt;/li&gt;
&lt;li&gt;Select the text items, group each the characters of each name together to make it easier to edit them, re-emphasise them, and change their size if desired.&lt;/li&gt;
&lt;li&gt;Select any other items that should be re-emphasised and do that (I did the sea and the land).&lt;/li&gt;
&lt;li&gt;Select each element of the subject that you&#039;d like to highlight (for me, this was each way that makes up the course) and change the styling of it (I increased the size, and re-emphasised the original colours). I also combined them all into a single &#039;path&#039; and joined the end of each one to the end of the next (using the &#039;Edit paths by nodes&#039; ad &#039;Join selected end nodes&#039; tools) to make it fill in the gaps that appear between them.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hopefully this short tutorial (well, documentation of my first steps) was helpful for other budding &lt;a href=&quot;http://www.dankarran.com/blog/archives/2007/08/09/on_cartographers_and_neocartographers.php&quot;&gt;neo-cartographers&lt;/a&gt; out there. If you&#039;ve made your own maps from OpenStreetMap data and have any hints and tips that may be useful, please feel free to add a comment to this post.&lt;/p&gt;
</description>
 <comments>http://www.dankarran.com/blog/2008/09/making-maps-from-openstreetmap-geodata#comments</comments>
 <category domain="http://www.dankarran.com/blog/geographic">Geographic</category>
 <category domain="http://www.dankarran.com/blog/isle-of-man">Isle of Man</category>
 <category domain="http://www.dankarran.com/blog/tags/map-making">map making</category>
 <category domain="http://www.dankarran.com/blog/tags/mapping">mapping</category>
 <category domain="http://www.dankarran.com/blog/tags/neocartography">neocartography</category>
 <category domain="http://www.dankarran.com/blog/tags/openstreetmap">OpenStreetMap</category>
 <category domain="http://www.dankarran.com/blog/tags/svg">SVG</category>
 <category domain="http://www.dankarran.com/blog/tags/wikipedia">Wikipedia</category>
 <pubDate>Tue, 16 Sep 2008 19:00:26 -0400</pubDate>
 <dc:creator>dankarran</dc:creator>
 <guid isPermaLink="false">330 at http://www.dankarran.com</guid>
</item>
</channel>
</rss>
