[mkgmap-dev] splitter r433 released
From Gerd Petermann GPetermann_muenchen at hotmail.com on Tue Mar 15 07:27:00 GMT 2016
Please double check this. The original Geofabrik data contains version info and I don't expect the problem with those files. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Michael Schlenstedt <schlenn at gmail.com> Gesendet: Dienstag, 15. März 2016 07:07 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] splitter r433 released I tried the original Geofabrik file with exactly the same error. So seems to be not a problem with the GlobalMapper export files. 2016-03-14 21:14 GMT+01:00 Gerd Petermann <GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com>>: Hi Michael, okay, that seems to be a problem caused by the last changes to retrieve the version info from the pbf file. In fact it looks similar to the problem in JOSM that I wanted to solve :-( I'll have a closer look tomorrow, for now you may fix the problem by adding version info to the input file. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Michael Schlenstedt <schlenn at gmail.com<mailto:schlenn at gmail.com>> Gesendet: Montag, 14. März 2016 20:24 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] splitter r433 released Hi Gerd, Argh, sorry. I posted the wrong error message from my first test... Splitter recognized the Polygonfile corrctly. However, splitter crashes with the following error: Time started: Mon Mar 14 20:07:55 CET 2016 Map is being split for resolution 13: - area boundaries are aligned to 0x800 map units (0.0439453125 degrees) - areas are multiples of 0x800 map units wide and high Processing D:/Karten/map_merged_sorted.pbf Bounding box -179.99990000000003 -13.011650000000001 179.99990000000003 84.52666 10.000.000 nodes processed... id=-2001683857 [...] 990.000.000 nodes processed... id=3971228872 Elapsed time: 10m 26s Memory: Current 421MB (225MB used, 196MB free) Max 7282MB in 1 file Time: Mon Mar 14 20:20:03 CET 2016 Exact map coverage read from input file(s) is (-13.011631965637207,-179.9998927116394) to (84.52664136886597,179.9998927116394) Exact map coverage after applying bounding box of polygon-file is (3.644092082977295,56.67825222015381) to (41.09657049179077,103.260498046875) Counting nodes of precompiled sea data ... Bounding box 72.421875 3.515625 73.125 4.218749999 java.lang.IndexOutOfBoundsException: Index: 0 at java.util.Collections$EmptyList.get(Unknown Source) at crosby.binary.Osmformat$DenseInfo.getVersion(Unknown Source) at uk.me.parabola.splitter.BinaryMapParser.parseDense(BinaryMapParser.java:114) at crosby.binary.BinaryParser.parse(Unknown Source) at crosby.binary.BinaryParser.handleBlock(Unknown Source) at crosby.binary.file.FileBlock.process(Unknown Source) at crosby.binary.file.BlockInputStream.process(Unknown Source) at uk.me.parabola.splitter.PrecompSeaReader.processMap(PrecompSeaReader.java:83) at uk.me.parabola.splitter.Main.calculateAreas(Main.java:624) at uk.me.parabola.splitter.Main.split(Main.java:258) at uk.me.parabola.splitter.Main.start(Main.java:187) at uk.me.parabola.splitter.Main.main(Main.java:157) uk.me.parabola.splitter.SplitFailedException: Index: 0 at uk.me.parabola.splitter.PrecompSeaReader.processMap(PrecompSeaReader.java:96) at uk.me.parabola.splitter.Main.calculateAreas(Main.java:624) at uk.me.parabola.splitter.Main.split(Main.java:258) at uk.me.parabola.splitter.Main.start(Main.java:187) at uk.me.parabola.splitter.Main.main(Main.java:157) Am 14.03.2016 um 16:47 schrieb Gerd Petermann: Hi Micheal, I guess you did not specify the file as an option use something like java -jar splitter.jar --polygon-file=mapborder_V2.poly [other options] xyz.osm.pbf Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Michael Schlenstedt <schlenn at gmail.com><mailto:schlenn at gmail.com> Gesendet: Montag, 14. März 2016 16:43 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] splitter r433 released Hi Gerd, until now I always used osmosis to cut of the bounding area. Now I would like to test splitter (I expect better results), but spliiter complained that the polygon file is not a valid OSM XML file: uk.me.parabola.splitter.SplitFailedException: ERROR: file mapborder_V2.poly is not a valid OSM XML file But splitter's documentation says it should be in Osmosis Polygon Filter File Format (which isn't OSM XML format, please see http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format). Which ist the right format fpr splitter? And if it should be in OSM XML format, should it be tagged as area, polygon or something else? Thanks, Michael _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20160315/7fe8333b/attachment.html>
- Previous message: [mkgmap-dev] splitter r433 released
- Next message: [mkgmap-dev] splitter r433 released
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list