
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

Hi, yes, there is a style function osmid() which returns the id of an object. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Joris Bo <jorisbo@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

Thx Gerd ! -----Oorspronkelijk bericht----- Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Namens Gerd Petermann Verzonden: woensdag 17 oktober 2018 21:39 Aan: Development list for mkgmap <mkgmap-dev@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@lists.mkgmap.org.uk> im Auftrag von Joris Bo <jorisbo@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@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (2)
-
Gerd Petermann
-
Joris Bo