[mkgmap-dev] Duplicate roads added by default style
From Felix Hartmann extremecarver at gmail.com on Mon May 10 10:14:37 BST 2021
hmm no, please no warning. This can be very beneficial. As long as the type OR road_speed OR road_class OR oneway plus direction is different. The above of course makes no sense, as it will set exactly the same road twice. On Mon, 10 May 2021 at 16:49, Gerd Petermann < GPetermann_muenchen at hotmail.com> wrote: > Hi all, > > while double checking patch for the RoadMerger I wondered what might > happen if the style adds two or more identical roads for the same OSM way. > Of course this makes no sense but to my surprise I found out that this > really happens with the default style. > A way with e.g. highway=footway and railway=platform is added twice > ... > highway=footway {set tmp:stopMopUp=yes} [0x16 road_class=0 road_speed=0 > resolution 23 continue with_actions] > ... > railway=platform [0x16 road_class=0 road_speed=0 resolution 23] > > Of course the default style should be fixed to avoid that but I think > mkgmap can detect this easily and should print a warning when the style > does that? > > Gerd > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -- Felix Hartman - Openmtbmap.org & VeloMap.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210510/a1965a6e/attachment.html>
- Previous message: [mkgmap-dev] Duplicate roads added by default style
- Next message: [mkgmap-dev] Duplicate roads added by default style
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list