logo separator

[mkgmap-dev] splitter r433 released

From Michael Schlenstedt schlenn at gmail.com on Mon Mar 14 19:24:55 GMT 2016

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> im Auftrag von Michael Schlenstedt <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
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> 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/20160314/5dec8b82/attachment.html>


More information about the mkgmap-dev mailing list