<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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>Hi Alexandre,</p>
<p>in case you did not yet find out:</p>
<p>The POI are generated by mkgmap before the style rules are processed, so whatever you do in the polygon style file should not
<br>
</p>
<p>influence the generated POI. <br>
</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<p><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Alexandre de Menezes <afmlistas@terra.com.br><br>
<b>Gesendet:</b> Sonntag, 12. Juni 2016 23:51:17<br>
<b>An:</b> Development list for mkgmap<br>
<b>Betreff:</b> [mkgmap-dev] Removing building polygons from the map</font>
<div> </div>
</div>
<div>
<p>Hi everyone,</p>
<p>The styles I am using add polygons to every building on the map. I never thought it was a problem, but recently someone did a mass import of all the buildings in my city and I started to get performance problems during GPS use. I want to avoid the polygons
on the map, but I don't want to miss the POIs.</p>
<p>I had partial success editing the polygon style file and removing this line:</p>
<p><code># building tag should be last<br>
#(building=* | amenity=*) & area!=no & amenity!=grave_yard [0x13 resolution 24]</code></p>
<p>I believe this removes all buildings for which there's no other rule converting it to a POI. Can I remove all the other building polys too, since I am using the
<tt>--add-pois-to-areas</tt> option, or I this will discard all the POIs?</p>
<p>Thanks in advance,</p>
<p> Alexandre de Menezes<br>
</p>
<p><br>
</p>
</div>
</body>
</html>