<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 Felix,<br><br>I was able to reproduce the problem&nbsp; but I don't see how this could be style related, as it happens <br>when reading precompiled boundaries.<br>I thought that I fixed this problem already, but it seems that the higher precision<br>is more likely to produce micro areas (&lt; 1 x1 cm).<br>With r3089 I have added a test to ignore these micro areas when reading or writing preprocessed <br>boundaries.<br>So, expect files that are a few percent smaller when using that release :-)<br><br>I noticed that the current format of the precompiled boundaries is not very<br>good reg. size: we save a lot of redundant information, e.g. complex lines<br>shared by level 2, 4 , and 6 boundaries are saved for each level and for each <br>area sharing it (say left and right one).<br>I guess this could be optimized, so it's on my todo list.<br><br>Gerd<br><br><br><br><br><br><div>&gt; Date: Fri, 7 Mar 2014 00:59:31 +0100<br>&gt; From: extremecarver@gmail.com<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: [mkgmap-dev] Style Dependant Bug<br>&gt; <br>&gt; Happens on France - seems to be somehow style dependant as it doesn't <br>&gt; happen on 1 out of my 2 styles, not sure about default style. Any ideas?<br>&gt; java.lang.AssertionError: boundary bbox doesn't fit into quadtree <br>&gt; java.awt.Rectangle[x=250000,y=2050000,width=50000,height=50000] <br>&gt; java.awt.geom.Rectangle2D$Double[x=249999.99999999997,y=2073898.7167311574,w=2.9103830456733704E-11,h=2.3283064365386963<br>&gt; E-10]<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryQuadTree$Node.add(BoundaryQuadTree.java:603)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryQuadTree$Node.access$900(BoundaryQuadTree.java:392)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryQuadTree.readStreamQuadTreeFormat(BoundaryQuadTree.java:357)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryQuadTree.&lt;init&gt;(BoundaryQuadTree.java:109)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.loadQuadTreeFromStream(BoundaryUtil.java:474)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.loadQuadTrees(BoundaryUtil.java:174)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryGrid.init(BoundaryGrid.java:103)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryGrid.&lt;init&gt;(BoundaryGrid.java:66)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.LocationHook.end(LocationHook.java:98)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:63)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:127)<br>&gt;          at <br>&gt; uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167)<br>&gt;          at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63)<br>&gt;          at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)<br>&gt;          at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216)<br>&gt;          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)<br>&gt;          at java.util.concurrent.FutureTask.run(Unknown Source)<br>&gt;          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown <br>&gt; Source)<br>&gt;          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown <br>&gt; Source)<br>&gt;          at java.lang.Thread.run(Unknown Source)<br>&gt; <br>&gt; -- <br>&gt; keep on biking and discovering new trails<br>&gt; <br>&gt; Felix<br>&gt; openmtbmap.org &amp; www.velomap.org<br>&gt; <br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>