logo separator

[mkgmap-dev] mkgmap:area2poi placement

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Apr 6 11:03:16 BST 2022

Hi

I think mkgmap evaluates the position of a role=label node member but that tagging scheme is not approved.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk>
Gesendet: Mittwoch, 6. April 2022 11:48
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] mkgmap:area2poi placement

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


_______________________________________________
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