logo separator

[mkgmap-dev] Tagging restaurants and categories

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Tue Mar 3 08:12:46 GMT 2020

Hi all

It relatively easy for a style to generate multiple POI for the same
point, in this case one "Fast Food" and one "Bagel/Donut".

The default style doesn't do this, but it makes a choice about which is
shown in this and similar cases, carefully commented to show how to get
the other:

# Have the following 2 lines here rather than after cuisine=... so
that, for amenity=fast_food, cuisine is ignored
amenity=fast_food & cuisine=* {add name='${cuisine|subst:"_=> "}'}
    [0x2a07 resolution 24]
amenity=fast_food [0x2a07 resolution 24]

...

cuisine=bagel | cuisine=donut
    [0x2a0d resolution 24]

...

Have the following 2 lines here rather than before cuisine=... so that,
for amenity=fast_food, cuisine is respected
#amenity=fast_food & cuisine=* {add name='${cuisine|subst:"_=> "}'}
    [0x2a07 resolution 24]
#amenity=fast_food [0x2a07 resolution 24]

Ticker




More information about the mkgmap-dev mailing list