<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Helvetica, Arial, sans-serif">Hi Gerd,<br>
<br>
Argh, sorry. I posted the wrong error message from my first
test... Splitter recognized the Polygonfile corrctly. However,
splitter crashes with the following error:</font><br>
<br>
Time started: Mon Mar 14 20:07:55 CET 2016<br>
Map is being split for resolution 13:<br>
- area boundaries are aligned to 0x800 map units (0.0439453125
degrees)<br>
- areas are multiples of 0x800 map units wide and high<br>
Processing D:/Karten/map_merged_sorted.pbf<br>
Bounding box -179.99990000000003 -13.011650000000001
179.99990000000003 84.52666<br>
10.000.000 nodes processed... id=-2001683857<br>
[...]<br>
990.000.000 nodes processed... id=3971228872<br>
Elapsed time: 10m 26s Memory: Current 421MB (225MB used, 196MB
free) Max 7282MB<br>
in 1 file<br>
Time: Mon Mar 14 20:20:03 CET 2016<br>
Exact map coverage read from input file(s) is
(-13.011631965637207,-179.9998927116394) to
(84.52664136886597,179.9998927116394)<br>
Exact map coverage after applying bounding box of polygon-file is
(3.644092082977295,56.67825222015381) to
(41.09657049179077,103.260498046875)<br>
Counting nodes of precompiled sea data ...<br>
Bounding box 72.421875 3.515625 73.125 4.218749999<br>
java.lang.IndexOutOfBoundsException: Index: 0<br>
at java.util.Collections$EmptyList.get(Unknown Source)<br>
at crosby.binary.Osmformat$DenseInfo.getVersion(Unknown
Source)<br>
at
uk.me.parabola.splitter.BinaryMapParser.parseDense(BinaryMapParser.java:114)<br>
at crosby.binary.BinaryParser.parse(Unknown Source)<br>
at crosby.binary.BinaryParser.handleBlock(Unknown Source)<br>
at crosby.binary.file.FileBlock.process(Unknown Source)<br>
at crosby.binary.file.BlockInputStream.process(Unknown
Source)<br>
at
uk.me.parabola.splitter.PrecompSeaReader.processMap(PrecompSeaReader.java:83)<br>
at
uk.me.parabola.splitter.Main.calculateAreas(Main.java:624)<br>
at uk.me.parabola.splitter.Main.split(Main.java:258)<br>
at uk.me.parabola.splitter.Main.start(Main.java:187)<br>
at uk.me.parabola.splitter.Main.main(Main.java:157)<br>
uk.me.parabola.splitter.SplitFailedException: Index: 0<br>
at
uk.me.parabola.splitter.PrecompSeaReader.processMap(PrecompSeaReader.java:96)<br>
at
uk.me.parabola.splitter.Main.calculateAreas(Main.java:624)<br>
at uk.me.parabola.splitter.Main.split(Main.java:258)<br>
at uk.me.parabola.splitter.Main.start(Main.java:187)<br>
at uk.me.parabola.splitter.Main.main(Main.java:157)<br>
<br>
<br>
<br>
<br>
<br>
Am 14.03.2016 um 16:47 schrieb Gerd Petermann:<br>
<blockquote
cite="mid:HE1PR08MB07644DE00C03F6E359310D699E880@HE1PR08MB0764.eurprd08.prod.outlook.com"
type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk"><mkgmap-dev-bounces@lists.mkgmap.org.uk></a> im Auftrag von Michael Schlenstedt <a class="moz-txt-link-rfc2396E" href="mailto:schlenn@gmail.com"><schlenn@gmail.com></a>
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
<a class="moz-txt-link-freetext" href="http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format">http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format</a>).
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
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>