<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi Gerd,<br>
<br>
I also struggled around with this incompatibility splitter/JOSM. I
used XML-files, but JOSM does not support API V0.5 for quite a
while now, and splitter still produces v0.5 XML files.<br>
<br>
Dirty Workaround: I open all yml-file in an editor, changed Line 2
into "osm version='0.6'" and add "version='1'" to all id-instances.
For VIM: :%s/ id='/ version='1' id='/g<br>
<br>
Maybe that's also the reason why JOSM doesn't like the
PBF-files...<br>
<br>
Regards,<br>
Michael<br>
<br>
</font><br>
<div class="moz-cite-prefix">Am 25.02.2016 um 23:46 schrieb Gerd
Petermann:<br>
</div>
<blockquote cite="mid:1456440378751-5868511.post@n5.nabble.com"
type="cite">
<pre wrap="">Gerd Petermann wrote
> Hi Greg.
>
>
> You can use osmconvert which should be able to read the output of
> splitter, e.g.
>
> osmconvert 12360002.osm.pbf -o=12360002-josm.osm.pbf
Sorry, was too quick.
You probably need option --fake-version for osmconvert:
osmconvert --fake-version 12360002.osm.pbf -o=12360002-josm.osm.pbf
I think that's the reason for the problem: JOSM doesn't like input
in pbf format that doesn't have the meta info (version, author etc)
I never cared about that because I use o5m format and an o5m plugin that
I wrote once for JOSM. It is not in the plugins repo, but I may try again to
add
it there.
A 3rd alternative is to use --output=xml in splitter, the files in that
format are
no problem in JOSM, but may decrease performance in splitter and mkgmap.
Gerd
--
View this message in context: <a class="moz-txt-link-freetext" href="http://gis.19327.n5.nabble.com/when-I-use-SPLITTER-to-IMPORT-om-pbf-files-into-JOSM-I-get-error-tp5868501p5868511.html">http://gis.19327.n5.nabble.com/when-I-use-SPLITTER-to-IMPORT-om-pbf-files-into-JOSM-I-get-error-tp5868501p5868511.html</a>
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>