Thx Gerd !
-Oorspronkelijk bericht-
Van: mkgmap-dev Namens Gerd Petermann
Verzonden: woensdag 17 oktober 2018 21:39
Aan: Development list for mkgmap
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
Hi,
yes, there is a style function osmid() which returns the id of an object.
Gerd
Von: mkgmap-dev im Auftrag von Joris
Bo
Gesendet: Mittwoch, 17. Oktober 2018 21:00
An: Development list for mkgmap
Betreff: [mkgmap-dev] Testing for way id in style
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 =
Hi Andrzej,
I have no idea about the details. I just know these lines in mkgmap source
PolishMapDataSource.java:
...
if (addBackground && !havePolygon4B)
addBackground();
...
if(type == 0x4b)
Hi Gerd,
I'll try to do some tests with mp, when I find some time. I wasn't
aware, that mkgmap accept background with this format.
Does mkgmap process statement "background=Y"? I wonder if background
object in img has any distinctive attributes.
--
Best regards,
Andrzej
Hi Andrzej,
I'd prefer to reuse the code that is used with --dem-polygon to specify the
polygon itself.
Maybe you can play with mp format? If mkgmap finds a background polygon in the
mp file it will not add one.
My own motivation to start coding is still rather small, maybe because I think
of