logo separator

[mkgmap-dev] [patch] hide abandoned highways in default style

From Gerd Petermann GPetermann_muenchen at hotmail.com on Mon Nov 23 07:28:13 GMT 2015

Hi Ben,

I 1st wondered why we cannot simply ignore the tag abandoned:highway but

it seems we have a few cases where a way tagged  e.g.

highway=cycleway,cycleway=crossing was changed to

abandoned:highway=cycleway without changing the cycleway=crossing tag as well.

I found out that I did it like that a few times :-(

If I hear no complains I'll commit this patch onThursday.


Von: mkgmap-dev-bounces at lists.mkgmap.org.uk <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ben Konrath <ben at bagu.org>
Gesendet: Sonntag, 22. November 2015 19:31
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] [patch] hide abandoned highways in default style

Hi Gerd,

No, that's a mistake on my part. It looks like abandoned:highway=* is for the old highway value (e.g. abandoned:highway=classified) and if the highway tag is also present, it's for the current highway value (e.g. abandoned:highway=path). Ways with abandoned:highway but without highway should be ignored. I've updated the patch. Let me know if I didn't express that correctly.

Thanks, Ben

On Sun, Nov 22, 2015 at 3:54 PM, Gerd Petermann <GPetermann_muenchen at hotmail.com<mailto:GPetermann_muenchen at hotmail.com>> wrote:

Hi Ben,

I think it is okay, but I don't yet see a need to handle abandoned:highway.

I find > 2100 ways that with abandoned:highway=* and highway=*.

Do you think these are not usable highways ?


Von: mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk> <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Ben Konrath <ben at bagu.org<mailto:ben at bagu.org>>
Gesendet: Sonntag, 22. November 2015 13:33
An: Development list for mkgmap
Betreff: [mkgmap-dev] [patch] hide abandoned highways in default style

Hi Gerd,

Here's a patch to hide abandoned highways in the default style. Abandoned highways have some evidence of their former existence but are no longer used. I made a separate rule for this change to highlight that abandoned highways could be useful in topographical maps.


The rule also matches highway=abandoned. While not an official OSM rule, it is being used in the US an Europe:


I also found a German wiki page for it but not a page in English:


Let me know what you think.

Thanks, Ben

mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20151123/f92198fc/attachment.html>

More information about the mkgmap-dev mailing list