logo separator

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

From Marko Mäkelä marko.makela at iki.fi on Tue Oct 4 18:45:48 BST 2011

On Tue, Oct 04, 2011 at 07:18:43PM +0200, WanMil wrote:
>> 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.

Great idea! The role=label nodes would allow "taggging for the 
renderers" in those cases when the default POI would be in an awkward 
position, such as outside the polygon.

If we generated POIs for boundary=administrative polygons, the default 
POI location should be the role=admin_center node. But, I guess such 
nodes would already carry place=* and name=*. How are country labels 
generated, or are they generated at all?

	Marko



More information about the mkgmap-dev mailing list