logo separator

[mkgmap-dev] Splitter 597 xml format output problem

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Sep 2 11:19:49 BST 2020

Hi Dave,

question is why JOSM refuses to load version 0.5
To solve your problem you may use splitter option --handle-element-version=fake


Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Dave <dfjkman at gmail.com>
Gesendet: Mittwoch, 2. September 2020 11:52
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] Splitter 597 xml format output problem


While trying to troubleshoot a map creation problem I had I decided to
output the data from Splitter using --output=xml rather than pbf so I could
open the resultant file in JOSM version 16812 (I wasn't sure if the
unexpected results were caused by Splitter or Mkgmap), JOSM gave the
following error message:

Could not read file '00002641.osm'. Error is: Unsupported version: 0.5 (at
line 2, column 56). 100 bytes have been read

As a work around I edited the osm version to 0.6 and added visible="true"
version="1" to node and way id lines and was able to open the file. (was a
simple file only containing lines/ways no polygons etc.)

This is not something I plan to do often but thought you should be aware.


mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk

More information about the mkgmap-dev mailing list