splitter r428 : work-around for JOSM problem

Hi all, I've changed splitter to write fake metadata (version, author, timestamp) when using pbf output format. The change in the output files is minimal, and it allows to open the output files in JOSM without using a tool like osmconvert. I can also change the output format of the xml files (osm.gz) to api 0.6. This would mean that each element (node, way, relation) gets an additional <version=1> string which increases the compressed file size by 2% and the uncompressed xml file by ~ 12% , see attached patch splitter_josm_v1.patch . Not sure if that makes sense ? Gerd

Hi Gerd, 2% of planet.osm is about 650MB, I can live with it ;) If you have doubts, than maybe add an option? -- Best regards, Andrzej

Hi Andrzej, my concern is more about the 12% when unzipped. I think the only good reason to use the osm.gz format is that one whants to edit the file(s), and I searched a while to find editors which can handle huge files without problems. Maybe today that is no longer a problem. Gerd ________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej@poczta.onet.pl> Gesendet: Freitag, 26. Februar 2016 11:45 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] splitter r428 : work-around for JOSM problem Hi Gerd, 2% of planet.osm is about 650MB, I can live with it ;) If you have doubts, than maybe add an option? -- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

I use splitter in combination with osm2mp. Unfortunately osm2mp cannot read pbf files. So usually I don't need to edit the files, but nevertheless need xml output. So an option V0.5 or V0.6 would be perfect. Or just add osmconvert to the documentation. Von meinem iPad gesendet
Am 26.02.2016 um 12:09 schrieb Gerd Petermann <GPetermann_muenchen@hotmail.com>:
Hi Andrzej,
my concern is more about the 12% when unzipped. I think the only good reason to use the osm.gz format is that one whants to edit the file(s), and I searched a while to find editors which can handle huge files without problems. Maybe today that is no longer a problem.
Gerd
________________________________________ Von: mkgmap-dev-bounces@lists.mkgmap.org.uk <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Andrzej Popowski <popej@poczta.onet.pl> Gesendet: Freitag, 26. Februar 2016 11:45 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] splitter r428 : work-around for JOSM problem
Hi Gerd,
2% of planet.osm is about 650MB, I can live with it ;)
If you have doubts, than maybe add an option?
-- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Andrzej Popowski
-
Gerd Petermann
-
schlenn@gmail.com