[mkgmap-dev] Dealing with JOSM exports
From Felix Herwegh mlmmduk at herwegh.de on Fri Nov 22 13:59:19 GMT 2024
Hi, for some special application I'm parsing gpx-files to osm-files, identical to importing the .gpx into JOSM, convert them to datalayers and finally export to .osm. These files are then processed by splitter to .o5m. I'd like to add a timestamp to the .o5m using "osmconvert --timestamp" next. While that normally works for split-files based on OSM data, for the above files osmconvert allways throws 6 warnings like osmconvert Warning: wrong sequence at node -324213 osmconvert Warning: next object is node -324214 osmconvert Warning: wrong sequence at node -324214 osmconvert Warning: next object is node -324215 osmconvert Warning: wrong sequence at node -324215 osmconvert Warning: next object is node -324216 I guess, osmconvert is expecting ordered increasing positive IDs only. Iirc the decreasing negative IDs are correct here nevertheless, implemented long ago to indicate dealing with non OSM objects. mkgmap seems to work perfectly fine on such split-files. Did I miss any means to avoid these warnings and have the timestamp added other than converting the IDs to positive? Thanks //Felix -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20241122/128a1140/attachment.html>
- Next message: [mkgmap-dev] Dealing with JOSM exports
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list