logo separator

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

From Joris Bo jorisbo at hotmail.com on Wed Oct 17 20:44:26 BST 2018

Thx Gerd !


-----Oorspronkelijk bericht-----
Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> Namens Gerd Petermann
Verzonden: woensdag 17 oktober 2018 21:39
Aan: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk>
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 <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

_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list