<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Patrik,</p>
<p><br>
</p>
<div style="color: rgb(0, 0, 0);">please provide the complete log from splitter and the densities-out.txt<br>
<br>
Gerd<br>
<br>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Von:</b> mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von KeenOnKites <keenonkites@gmx.net><br>
<b>Gesendet:</b> Donnerstag, 24. März 2016 20:25<br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> [mkgmap-dev] Problem with splitter: Failed to find a correct split</font>
<div> </div>
</div>
<div>Hello together,<br>
<br>
I'm running into a problem with the splitter (r435 aswell as r427) when splitting the US_ALASKA file downloadable from Geofabrik.<br>
<br>
The exception is:<br>
<blockquote><tt>Warning: No solution found for partition (49.7900390625,-179.9560546875) to (73.828125,180.0) with 6'702'717 nodes</tt><br>
<tt>uk.me.parabola.splitter.SplitFailedException: Failed to find a correct split</tt><br>
<tt>        at uk.me.parabola.splitter.SplittableDensityArea.split(SplittableDensityArea.java:152)</tt><br>
<tt>        at uk.me.parabola.splitter.SplittableDensityArea.split(SplittableDensityArea.java:196)</tt><br>
<tt>        at uk.me.parabola.splitter.Main.calculateAreas(Main.java:645)</tt><br>
<tt>        at uk.me.parabola.splitter.Main.split(Main.java:258)</tt><br>
<tt>        at uk.me.parabola.splitter.Main.start(Main.java:187)</tt><br>
<tt>        at uk.me.parabola.splitter.Main.main(Main.java:157)</tt><br>
</blockquote>
<br>
The complete command line with the splitter call is:<br>
<blockquote><tt>java -Xmx1536M -jar D:/fzk/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/tools/splitter/splitter.jar --max-threads=2 --geonames-file=D:/fzk/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/cities/c</tt><tt><br>
</tt><tt>ities15000.zip --no-trim --precomp-sea=D:/fzk/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/sea --keep-complete=true --mapid=98200001 --max-nodes=800000 --output=xml --output-dir=D:/fzk/develop/fzk</tt><tt><br>
</tt><tt>-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_US_ALASKA D:/fzk/develop/fzk-mde-garmin/Freizeitkarte-Entwicklung/work/Freizeitkarte_US_ALASKA/Freizeitkarte_US_ALASKA.osm.pbf</tt><br>
</blockquote>
<br>
The pbf source file comes from:<br>
<blockquote><a id="LPlnk671936" class="moz-txt-link-freetext" href="http://download.geofabrik.de/north-america/us/alaska-latest.osm.pbf">http://download.geofabrik.de/north-america/us/alaska-latest.osm.pbf</a><br>
</blockquote>
<br>
The osmconvert statistics about that file is:<br>
<blockquote><tt>PS Freizeitkarte-Entwicklung> .\tools\osmconvert\windows\osmconvert.exe .\work\Freizeitkarte_US_ALASKA\Freizeitkarte_US_ALASKA.osm.pbf --out-statistics</tt><tt><br>
</tt><tt>timestamp min: 2007-06-05T03:23:59Z</tt><tt><br>
</tt><tt>timestamp max: 2016-03-23T05:41:43Z</tt><tt><br>
</tt><tt>lon min: -180.0000000</tt><tt><br>
</tt><tt>lon max: -122.5122525</tt><tt><br>
</tt><tt>lat min: 48.6234931</tt><tt><br>
</tt><tt>lat max: 71.6061501</tt><tt><br>
</tt><tt>nodes: 4360214</tt><tt><br>
</tt><tt>ways: 185550</tt><tt><br>
</tt><tt>relations: 2245</tt><tt><br>
</tt><tt>node id min: 27207079</tt><tt><br>
</tt><tt>node id max: 4072166815</tt><tt><br>
</tt><tt>way id min: 4708608</tt><tt><br>
</tt><tt>way id max: 404980503</tt><tt><br>
</tt><tt>relation id min: 13971</tt><tt><br>
</tt><tt>relation id max: 6033189</tt><tt><br>
</tt><tt>keyval pairs max: 310</tt><tt><br>
</tt><tt>keyval pairs max object: relation 60189</tt><tt><br>
</tt><tt>noderefs max: 2000</tt><tt><br>
</tt><tt>noderefs max object: way 42394334</tt><tt><br>
</tt><tt>relrefs max: 681</tt><tt><br>
</tt><tt>relrefs max object: relation 3337277</tt><tt><br>
</tt><tt>PS Freizeitkarte-Entwicklung></tt><br>
</blockquote>
Interesting to mention:<br>
- splitter exception mentiones a complete different coverage area than osmconvert statistics.<br>
- the area is near -180 / +180... always complicated.<br>
<br>
Do I miss something ? All other pbf's I've tried are splitting properly without any problems. Do I need to change something in the arguments ? Or is it a simple problem of the actual pbf file ?<br>
<br>
Any ideas are very welcome....<br>
<br>
Cheers<br>
Patrik<br>
<br>
<br>
<br>
</div>
</div>
</div>
</body>
</html>