logo separator

[mkgmap-dev] mkgmap:area2poi placement

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Wed Apr 6 10:48:49 BST 2022

Hi

I don't see a way to control the placement of the POI for a
multipolygon; it sets it to the centre point of the biggest area.

You could suppress the POI if it isn't within the area by using the
is_in() function, something like:

tag=value & mkgmap:area2poi=true & is_in(tag, value, in_or_on)=true
   [0x...]

Ticker

On Wed, 2022-04-06 at 07:46 +0000, lig fietser wrote:
> Hi,
> I've noticed on my map that mkgmap places the poi of an area like
> the  "Nationalpark Niedersächsisches Wattenmeer"
> (https://www.openstreetmap.org/relation/157811)  outside of the
> National Park, so not in the sea but on the mainland near Wittmund. I
> prefer to place those pois inside such odd shapes polygons. OSM carto
> puts the label just east of Borkum.  I'm not sure if there was a
> mkgmap option how to control this behaviour? I know it can be done by
> manipulating the OSM data and add a label, but I prefer to control
> this in mkgmap.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list