<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 Maxim,<br><br>thanks for the patch. I was a bit surprised to notice that the <br>output produced by the patched version is still usable by the <br>trunk version.<br>I did not see any change to handle e.g. overlapping<br>place polygons. <br>Do you plan to change the utility programs <br>like BoundaryFile2Gpx, BoundaryCoverageUtil, and BoundaryDiff<br>so that one can verify the results?<br><br>Gerd<br><br><div><hr id="stopSpelling">From: maxc@gmx.de<br>To: mkgmap-dev@lists.mkgmap.org.uk<br>Date: Mon, 26 Jan 2015 11:21:07 +0100<br>Subject: [mkgmap-dev]  Support place polygons in preprocessed bounds<br><br><div style="font-family:Verdana;font-size:12.0px;"><div>Hello everybody!<br>
&nbsp;<br>
I've attached a patch that supports processing of place polygons in precompiled bounds and using of this information in the style file. See my earlier message: <a href="http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2015q1/022619.html" target="_blank">http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2015q1/022619.html</a>.<br>
You can use it like following (as example):<br>
&nbsp;<br>
# Russia<br>
mkgmap:country=RUS &amp; mkgmap:city!=* &amp; mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' }<br>
mkgmap:country=RUS &amp; mkgmap:city!=* &amp; (mkgmap:place=city | mkgmap:place=town) { set mkgmap:city='${mkgmap:place_name}' }<br>
mkgmap:country=RUS &amp; mkgmap:city!=* &amp; mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' }<br>
&nbsp;<br>
To get this working, you have to create your own set of precompiled bounds with additional rule "type=multipolygon and place= and name=" for osmfilter and a run of BoundaryPreprocessor to set the variables mkgmap:place (attribute 'place' from the multipolygon) and mkgmap:place_name (attribute 'name' from the multipolygon).</div>

<div>&nbsp;</div>

<div>Cheers!</div>

<div>Max</div></div><br>_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</div>                                               </div></body>
</html>