Thank you, thank you,thank you!

I have been struggling with this for 1 month.

Both 'osmconvert' and 'osmconvert --fake-version' worked.

I only use .pbf because I found this website for OSM downloads:

http://download.geofabrik.de/north-america.html

is there a website to get similar sized o5m map downloads?

Greg

On Thu, Feb 25, 2016 at 5:46 PM, Gerd Petermann <gpetermann_muenchen@hotmail.com> wrote:
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: http://gis.19327.n5.nabble.com/when-I-use-SPLITTER-to-IMPORT-om-pbf-files-into-JOSM-I-get-error-tp5868501p5868511.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev