<?xml version="1.0" encoding="UTF-8"?>
<!-- name="generator" content="pyblosxom/1.4.1 7/27/2007" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>Блогчетање 07 Jun 2008</title>
<link>https://danilo.segan.org/blog</link>
<description>Данилово блогче</description>
<language>en</language>
<item>
  <title>Starting with OpenStreetMap</title>
  <link>https://danilo.segan.org/blog/openstreetmap/starting-with-openstreetmap</link>
  <description><![CDATA[
<p>I recently got a <a href="http://www.blu-max.eu">blu-max</a>/<a href="http://www.eurotronic.net">Eurotronic</a> <a href="http://www.eurotronic.net/products/produktdetails/gps_receiver.html">GPS 101</a> bluetooth device, hooked it up with my
Nokia N800 and started playing with <a
href="http://www.openstreetmap.org">OpenStreetMap</a>.</p>

<center>
  <img src="http://danilo.segan.org/slike/osm/bluemax-gps101.jpg">
</center>

<h3>Mapping</h3>

<p><a href="http://gnuite.com:8080/nokia770/maemo-mapper/">Maemo
Mapper</a> is pretty cool. However, I have not found a way to
diferentiate between nodes made with <em>'Insert break'</em> in
GPX editing tools like <a href="http://josm.openstreetmap.de/">JOSM</a> or
<a href="http://www.irule.be/bvh/c++/merkaartor/">Merkaartor</a>: they
are completely like any other nodes automatically inserted when
<em>'Enable tracking'</em> is on.  Any clue about what am I doing wrong
is very welcome.</p>

<center>
  <img src="http://danilo.segan.org/slike/osm/nokia-n800-gps.jpg">
</center>

<p>Also, I am not really sure what the value of inserting breaks into
tracks is: neither Merkaartor nor JOSM seem to make any distinction,
or am I being clueless?  Any hints are welcome :)</p>


<h3>Editing</h3>

<p>I started importing my GPX files into Merkaartor first, because it
was easier to import Yahoo satellite imagery as the background, thus
making it easier to confirm I am choosing right points to end roads at
(because of the problem of not being able to separate 'breaks' from
other nodes in Maemo Mapper).  However, I can't upload anything (and I
am using Qt 4.3.4), so I am suspecting the 0.6 OSM API change might be
the one to blame, though I am still totally clueless about what's
going on.</p>

<center>
  <img src="http://danilo.segan.org/slike/osm/josm.jpg">
</center>

<p>So, I decided to switch over to JOSM, however, I didn't want to
lose streets I already marked up.  However, JOSM doesn't accept same
form of IDs used on <code>&lt;node&gt;</code>s—it expects integer IDs,
or at least something that looks like it, and Merkaartor produces a
string of hex numbers separated by dashes (it's a standard format, but
can't remember the name from the top of my head).  So, I hacked up a
<a
href="http://kvota.net/hacks/openstreetmap/simplify-ids-in-osm-files.py">quick
script</a> to "normalize" (or <em>simplify</em>) IDs on all
<code>&lt;node&gt;</code> tags, and also remove all nodes not
otherwise used in any of the <code>&lt;way&gt;</code>s (though,
removal is commented out since it was really slow in
<code>xml.dom.minidom</code>).</p>

<h3>Uploading</h3>

<p>So, I was finally able to open OSM files in JOSM, but I still
couldn't upload them to the server: whenever I open an OSM file, it's
considered as it's completely in sync with OpenStreetMap, yet I want
to push all the streets as new data.</p>

<p><strong>Anybody got a solution to that one?</strong>  I.e. how to
make JOSM consider all imported OSM files as "new" data?</p>

]]></description>
</item>

</channel>
</rss>
