<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Gerd,<br>
    <br>
    Yes, alaska.osm.pbf is small.<br>
    <br>
    It works without --no-trim. And it also works with the polygon file
    that belongs to alaska.osm.pbf (also downloaded from Geofabrik)
    which, according to documentation, anyway would disable --no-trim
    option.<br>
    <br>
    Do you still need the resulting densities-out of the failure ? It's
    about 700 kb... if yes, how should I provide it ? Just attach it
    here ?<br>
    <br>
    You have to excuse my question, I'm not the crack: is this now a
    problem of the pbf file, or the splitter ? ... or just the way I try
    to use it ?<br>
    <br>
    Thanks already now for your help.<br>
    Patrik<br>
    <br>
    <div class="moz-cite-prefix">On 24.03.2016 21:14, Gerd Petermann
      wrote:<br>
    </div>
    <blockquote
cite="mid:HE1PR08MB076461CD0EECD0E95CFC6A129E820@HE1PR08MB0764.eurprd08.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p><br>
        </p>
        <p>Ahh, sorry, I just noticed that the file alaska.osm.pbf is
          small.</p>
        <p>The problem is here is that the bounding box spans from -180
          to 180, <br>
        </p>
        <p>but this box is most empty. I have to run splitter now to
          find the details.</p>
        <p>It works without --no-trim, probably also with an appropriate
          polygon file.</p>
        <p>Does that help?</p>
        <p><br>
        </p>
        <p>Gerd<br>
        </p>
        <div style="color: rgb(0, 0, 0);">
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
              color="#000000" face="Calibri, sans-serif"><b>Von:</b>
              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 Gerd Petermann
              <a class="moz-txt-link-rfc2396E" href="mailto:GPetermann_muenchen@hotmail.com"><GPetermann_muenchen@hotmail.com></a><br>
              <b>Gesendet:</b> Donnerstag, 24. März 2016 21:01<br>
              <b>An:</b> Development list for mkgmap<br>
              <b>Betreff:</b> Re: [mkgmap-dev] Problem with splitter:
              Failed to find a correct split</font>
            <div> </div>
          </div>
          <div>
            <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" color="#000000"
                    face="Calibri, sans-serif"><b>Von:</b> 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 KeenOnKites <a class="moz-txt-link-rfc2396E" href="mailto:keenonkites@gmx.net"><keenonkites@gmx.net></a><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 moz-do-not-send="true"
                      title="Ctrl+Klicken oder tippen Sie, um dem Link
                      zu folgen." 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>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>