<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 Andrzej,<br><br>yes, I did not test with your data yesterday<br>and did not notice an old problem with high precision coordinates.<br><br>Attached is a new patch that implements both changes <br>which I suggested here:<br><a href="http://gis.19327.n5.nabble.com/Optimizing-MapSplitter-tp5823702p5824224.html" target="_blank">http://gis.19327.n5.nabble.com/Optimizing-MapSplitter-tp5823702p5824224.html</a><br><br>I am not sure about the criteria.<br>The line <br>final int LARGE_OBJECT_DIM = 1024; <br>gives a measurement for large objects in map units.<br>Each large object is placed in its own sub div.<br><br>The line <br>int wantedSize = MAX_RGN_SIZE / 10; // smaller values result in more sub divs <br>determines the approx. number of bytes<br>in one sub div. <br>A value near 0 means many very small sub divs, a value near MAX_RGN_SIZE<br>is what the trunk version uses.<br><br>Maybe we have to create parameters for them.<br><br>Gerd<br><br><div>> Date: Fri, 14 Nov 2014 22:54:38 +0100<br>> From: popej@poczta.onet.pl<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Optimizing MapSplitter<br>> <br>> Hi Gerd,<br>> <br>> your second patch doesn't work for me. When compiling I get multiple <br>> warnings like this:<br>> SEVERE (MapArea): 29483021.osm.pbf: Point with type 0x2d02 at <br>> http://www.openstreetmap.org/?mlat=54.594173&mlon=18.815332&zoom=17 is <br>> outside of the map area centred on <br>> http://www.openstreetmap.org/?mlat=54.509804&mlon=18.684912&zoom=17 <br>> width = 12155 height = 8502 resolution = 15<br>> <br>> Img is much bigger, like 5MB instead of 3.8MB and I can't decompile it <br>> with GPSMapEdit. BaseCamp doesn't display it. I assume img is damaged.<br>> <br>> -- <br>> Best regards,<br>> Andrzej<br>> <br>> <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>