<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Patrik,<br><br>I have checked the data from geofabrik. The invalid (?)<br>bounds tag really is in the data (also in the *.osm.bz2 file)<br><br>I am not sure what to do with this.<br>I can change splitter to ignore invalid bounds,<br>but I think you should contact the guys at geofabrik<br>to correct the data.<br><br>Regarding the differences in the reported min/max values:<br>osmconvert reports correct values, the values reported by splitter<br>in the line starting ""Exact map coverage is "<br>depend on the bounds tag. If (valid) bounds were found,<br>they are used, if not, splitter also reports (and uses)<br>the real min/max values found in the nodes.<br><br>Gerd<br><br><div>> Date: Sun, 19 Oct 2014 15:58:02 +0200<br>> From: keenonkites@gmx.net<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: [mkgmap-dev] Problem with splitter r412: invalid bbox area in pbf        file<br>> <br>> Gents,<br>> <br>> We run into a problem with the splitter about invalid bbox area in pbf <br>> file throwing the following error:<br>> java.lang.IllegalArgumentException: invalid bbox area in pbf file: <br>> (49.808900356292725,-179.95320081710815) to <br>> (73.79793405532837,180.00049352645874)<br>> <br>> But this is sort of strange as osmconvert tells me different values for <br>> the bbox. Additionally it has to be said that another file containing a <br>> larger area (while containing the complete dataset of the file that <br>> causes the trouble) works without troubles with the same call of <br>> splitter and the same set of precompiled sea files and so on...<br>> <br>> Any help/comments would be appreciated....<br>> <br>> More Details:<br>> ============================================================<br>> The file triggering the problem:<br>> --------------------------------------------------------------------------------------------------<br>> http://download.geofabrik.de/north-america/us/alaska-latest.osm.pbf<br>> <br>> And here the call and the output of the splitter:<br>> --------------------------------------------------------------------------------------------------<br>> java -Xmx1536M -jar <br>> /home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/tools/splitter/splitter.jar <br>> --max-threads=2 <br>> --geonames-file=/home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/cities/cities15000.zip <br>> --no-trim <br>> --precomp-sea=/home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/sea <br>> --keep-complete=true --mapid=98600001 --max-nodes=800000 --output=xml <br>> --output-dir=/home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_US_ALASKA <br>> /home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_US_ALASKA/Freizeitkarte_US_ALASKA.osm.pbf<br>> Splitter version 412 compiled 2014-06-21T13:47:04+0100<br>> boundary-tags=use-exclude-list<br>> cache=<br>> description=<br>> geonames-file=/home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/cities/cities15000.zip<br>> keep-complete=true<br>> mapid=98600001<br>> max-areas=512<br>> max-nodes=800000<br>> max-threads=2<br>> mixed=false<br>> no-trim=true<br>> num-tiles=<br>> output=xml<br>> output-dir=/home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_US_ALASKA<br>> overlap=auto<br>> polygon-desc-file=<br>> polygon-file=<br>> precomp-sea=/home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/sea<br>> problem-file=<br>> problem-report=<br>> resolution=13<br>> search-limit=200000<br>> split-file=<br>> status-freq=120<br>> stop-after=dist<br>> write-kml=<br>> Elapsed time: 0s Memory: Current 479MB (5MB used, 474MB free) Max 1365MB<br>> Time started: Sun Oct 19 15:28:09 CEST 2014<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 <br>> /home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_US_ALASKA/Freizeitkarte_US_ALASKA.osm.pbf<br>> Bounding box -179.9532 49.8089 180.00050000000002 73.79794000000001<br>> java.lang.IllegalArgumentException: invalid bbox area in pbf file: <br>> (49.808900356292725,-179.95320081710815) to <br>> (73.79793405532837,180.00049352645874)<br>> at <br>> uk.me.parabola.splitter.BinaryMapParser.parse(BinaryMapParser.java:233)<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.Main.processOSMFiles(Main.java:1380)<br>> at uk.me.parabola.splitter.Main.processMap(Main.java:878)<br>> at uk.me.parabola.splitter.Main.calculateAreas(Main.java:574)<br>> at uk.me.parabola.splitter.Main.split(Main.java:252)<br>> at uk.me.parabola.splitter.Main.start(Main.java:181)<br>> at uk.me.parabola.splitter.Main.main(Main.java:151)<br>> uk.me.parabola.splitter.SplitFailedException: ERROR: file <br>> /home/pab/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_US_ALASKA/Freizeitkarte_US_ALASKA.osm.pbf <br>> contains unexpected data<br>> at uk.me.parabola.splitter.Main.processOSMFiles(Main.java:1402)<br>> at uk.me.parabola.splitter.Main.processMap(Main.java:878)<br>> at uk.me.parabola.splitter.Main.calculateAreas(Main.java:574)<br>> at uk.me.parabola.splitter.Main.split(Main.java:252)<br>> at uk.me.parabola.splitter.Main.start(Main.java:181)<br>> at uk.me.parabola.splitter.Main.main(Main.java:151)<br>> <br>> osmconvert output containing the statistics about the file<br>> --------------------------------------------------------------------------------------------------<br>> tools/osmconvert/linux/osmconvert32 <br>> work/Freizeitkarte_US_ALASKA/Freizeitkarte_US_ALASKA.osm.pbf <br>> --out-statistics<br>> timestamp min: 2007-06-05T03:23:59Z<br>> timestamp max: 2014-10-18T11:48:05Z<br>> lon min: -180.0000000<br>> lon max: -122.5122521<br>> lat min: 48.6234931<br>> lat max: 71.6048217<br>> nodes: 4028420<br>> ways: 171349<br>> relations: 1803<br>> node id min: 27207079<br>> node id max: 3136662460<br>> way id min: 4708608<br>> way id max: 308379297<br>> relation id min: 13971<br>> relation id max: 4116925<br>> keyval pairs max: 302<br>> keyval pairs max object: relation 60189<br>> noderefs max: 2000<br>> noderefs max object: way 42394334<br>> relrefs max: 739<br>> relrefs max object: relation 3337277<br>> <br>> File not causing any troubles (us-pacific, superset of ALASKA):<br>> --------------------------------------------------------------------------------------------------<br>> http://download.geofabrik.de/north-america/us-pacific.html<br>> <br>> splitter 'bounds' running against us-pacific file: part of the output<br>> --------------------------------------------------------------------------------------------------<br>> ...<br>> Exact map coverage is (15.920970439910889,-179.99648094177246) to <br>> (72.98844337463379,-129.79979753494263)<br>> Rounded map coverage is (15.908203125,-180.0) to <br>> (72.9931640625,-129.7705078125)<br>> ...<br>> <br>> Output of the osmconvert running against us-pacific file<br>> --------------------------------------------------------------------------------------------------<br>> tools/osmconvert/linux/osmconvert32 <br>> work/Freizeitkarte_US_PACIFIC/Kartendaten_Freizeitkarte_US_PACIFIC.osm.pbf <br>> --out-statistics<br>> timestamp min: 2006-12-08T15:49:14Z<br>> timestamp max: 2014-10-18T18:10:31Z<br>> lon min: -180.0000000<br>> lon max: -122.5122521<br>> lat min: 15.5631200<br>> lat max: 71.6048217<br>> nodes: 4906880<br>> ways: 233739<br>> relations: 2417<br>> node id min: 21442033<br>> node id max: 3136662460<br>> way id min: 4045672<br>> way id max: 308379297<br>> relation id min: 13971<br>> relation id max: 4116925<br>> keyval pairs max: 302<br>> keyval pairs max object: relation 60189<br>> noderefs max: 2000<br>> noderefs max object: way 42394334<br>> relrefs max: 739<br>> relrefs max object: relation 3337277<br>> <br>> <br>> Many thanks already in advance...<br>> Patrik<br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>