Thx Gerd !

-----Oorspronkelijk bericht-----
Van: mkgmap-dev <[email protected]> Namens Gerd Petermann
Verzonden: woensdag 17 oktober 2018 21:39
Aan: Development list for mkgmap <[email protected]>
Onderwerp: Re: [mkgmap-dev] Testing for way id in style file

Hi,

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

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Joris 
Bo <[email protected]>
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

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to