logo separator

[mkgmap-dev] [PATCH v1] Reimplementation of add-pois-to-areas option

From WanMil wmgcnfg at web.de on Tue Oct 4 18:18:43 BST 2011

> Maybe it would be a good solution, to look at first, if one node of the
> polygon is tagged as building=entrance. If there is one, use this node
> as POI-node, else create an node in the centre of the polygon.

That would be easy to realize. For mulitpolygons one could also check if 
there is a point with role "label" and use this point for the POI.

> @WanMil: Do you see a more or less easy way to control the creation of
> POI out of areas with a style-file? So that it is possible to have POI
> out of polygons, which should not be rendered as a polygon. Now this is
> only possible with a transparent polygon.

Did you try the patch? I think you no longer need any rule in the 
polygons file. For each polygon (no matter if there is a rule or not) a 
POI is created and processed by the points style file.
So the solution is:
* Add a rule to your points style file
* Remove the rule from your polygons style file
(Please let me know if it works :-)


> Henning

More information about the mkgmap-dev mailing list