logo separator

[mkgmap-dev] Testing for way id in style file

From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed Oct 17 20:39:08 BST 2018

Hi,

yes, there is a style function osmid() which returns the id of an object.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Joris Bo <jorisbo at hotmail.com>
Gesendet: Mittwoch, 17. Oktober 2018 21:00
An: Development list for mkgmap
Betreff: [mkgmap-dev] Testing for way id in style file

Hello,

Question about testing for the object’s id for echo purposes.

If I use
name = “Amsterdam”  { echotags ‘City of Amsterdam’}

it will echo the id (let’s say 123456789)  to the output logging
Is it also possible to test for the id itself ? for example something like
            id = 123456789  { echotags ‘City of Amsterdam’}


kind regards
Joris



More information about the mkgmap-dev mailing list