<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
<div dir="ltr">
<div dir="ltr">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi Andrzej,<br><br>I tried using --boundary-tags=administrative <br>for splitter, the amount of additional data depends<br>on the size of the largest boundaries.<br><br>Attached is a small patch that changes splitter so<br>that it keeps administrative boundaries complete<br>when the admin_level is between 5 and 11 (including).<br><br>This doesn't add much data to the output files<br>in comparison to --boundary-tags=administrative <br>when splitting e.g. Brazil with --max-nodes=800000<br>and --output=o5m:<br>a) r422 output size: ~ 359 M <br>b) patched version : ~381 M <br>c) unpatched r422 with --boundary-tags=administrative: 402 M<br><br>I've also tested the effect on mkgmap.<br>As expected, version a) produces some wrong / duplicate POI,<br>but I don't see them for b) or c).<br>The throughput is nearly identical, and the final img size is also almost equal.<br><br>So, I think the patch is the best compromise.<br><br>Gerd<br><br><br><div>> Date: Thu, 21 May 2015 12:56:43 +0200<br>> From: popej@poczta.onet.pl<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Duplicate cities<br>> <br>> Hi Gerd,<br>> <br>> > Hmm, splitter keeps most mp-relations complete, we only<br>> > exclude some boundary relations.<br>> <br>> I see. But maybe potential increase wouldn't be that big, if you add <br>> boundaries?<br>> <br>> Or maybe you can preserve only some levels of boundaries?<br>> <br>> Or you can use boundary data form --bounds option?<br>> <br>> Anyway, I prefer version 1 - keep complete relation, that could be <br>> useful for mkgmap.<br>> <br>> -- <br>> Best regards,<br>> Andrzej<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>
</div>
</div>
                                           </div></body>
</html>