logo separator

[mkgmap-dev] Dead end check

From Mike Baggaley mike at tvage.co.uk on Tue Feb 18 16:46:34 GMT 2020

Hi Gerd, there are a number of mkgmap special tags in the OSM database. Some
of them are rather dubious (e.g. there are 4 mkgmap:area2poi tags). This one
I added as all the surrounding ways had it set already with just that one
not having it. The change log for the other ways shows the tag was added by
tms13 in 2015. This information cannot be added in the style with the
existing OSM data unless you specify something like id=108322149 {set
mkgmap:dead-end-check=false}, which is not an ideal solution. If you can
suggest what should go in OSM to indicate it is a known dead end so that it
can be detected by the style then that would be great.

Regards,
Mike

-----Original Message-----
From: Gerd Petermann [mailto:gpetermann_muenchen at hotmail.com] 
Sent: 17 February 2020 20:04
To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk>
Subject: Re: [mkgmap-dev] Dead end check

Hi Mike,

Ticker is right. Please don't add mkgmap special tags to the OSM database.
Those tags should be used in the style.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Mike
Baggaley <mike at tvage.co.uk>
Gesendet: Montag, 17. Februar 2020 20:17
An: 'Development list for mkgmap'
Betreff: [mkgmap-dev] Dead end check

Hi all,

I have set logging to enable warnings in StyledConverter, and have been
getting a few unexpected results from the dead end check. It seems that
using the default style and latest mkgmap release, if a way has
mkgmap:dead-end-check=no set in OSM, this information is not loaded, so when
the dead end check is run, ways with this tag are not omitted from the
check. I have worked around this by adding a dummy line to the lines file:

mkgmap:dead-end-check=no {set mkgmap:dead-end-check=no}

The tag data is then loaded.

It seems to me though that the code should include mkgmap:dead-end-check in
the list of standard tags to be loaded, without needing anything specific in
the style (or at least if dead end check is enabled). I would not expect OSM
to have many of these, so it should not make any significant difference to
the amount of memory needed by mkgmap or affect the execution time.

An example is way  108322149 which is one of the ways where cars get on the
train at Ashford.

I suspect the same thing will happen with mkgmap:flare-check,
mkgmap:dir-check and mkgmap:no-dir-check.

Regards,
Mike

_______________________________________________
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