Hi, <br><br>I had some trouble automating the extraction of OSM data, but I have created a dump using osmium based on data extracted using josm. It&#39;s available here: &lt;<a href="http://dl.dropbox.com/u/4954103/20110207_osm_no_boundaries.zip">http://dl.dropbox.com/u/4954103/20110207_osm_no_boundaries.zip</a>&gt;.<br>
<br>The quality of this data doesn&#39;t look too good and it would need some more work, validation and testing to be useable..E.g. I saw at least one error in the file, it doesn&#39;t contain the id of the kommune (only OSM relation id) and I saw an issue with charset encoding of the kommune name in the datafile that I need to find the source error for. <br>
<br>If this file gives you trouble then I would advise to use the official data from the local mapping authority available as shape here: &lt;<a href="http://www.statkart.no/?module=Files;action=File.getFile;ID=41973">http://www.statkart.no/?module=Files;action=File.getFile;ID=41973</a>&gt;.. It contains correct charset for the kommunes and also the correct id. However, we will continue the process of improving the quality of the shape file dump from OSM. <br>
<br>Cheers, <br><br>Gorm Haug Eriksen<br><br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 11:45 AM, Petter Reinholdtsen <span dir="ltr">&lt;<a href="mailto:pere@hungry.com" target="_blank">pere@hungry.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
[Gorm Eriksen]<br>
<div>&gt; Hi Matthew, I have tried to create shapefiles from OpenStreetMap,<br>
&gt; but it&#39;s not been successful.<br>
<br>
</div>Please give us an update on your progress.  This is needed fairly<br>
quickly, as mySociety are paid the next few weeks to adjust<br>
fixmystreet for Norway and need a map source to get mapit running.<br>
<br>
We discussed the map source needs for MaPit on IRC (#fixmystreet on<br>
<a href="http://irc.mysociety.org" target="_blank">irc.mysociety.org</a>), and Matthew tells me that what is needed are shape<br>
files with polygons, and names and preferably IDs for each kommune.<br>
<br>
He said <a href="http://www.openstreetmap.org/browse/relation/406106" target="_blank">http://www.openstreetmap.org/browse/relation/406106</a> seem like<br>
a good polygon example, and with the names and IDs available the<br>
import should work.<br>
<br>
I guess the kommunenummer ID might be a good one.  A list of these are<br>
available from<br>
&lt;URL:<a href="http://no.wikipedia.org/wiki/Liste_over_norske_kommunenummer" target="_blank">http://no.wikipedia.org/wiki/Liste_over_norske_kommunenummer</a>&gt;.  I<br>
am not sure if OSM include them.<br>
<br>
Is this enough information for you to provide a test source for import?<br>
<br>
Happy hacking,<br>
--<br>
<font color="#888888">Petter Reinholdtsen<br>
</font></blockquote></div><br>