[mkgmap-dev] order of lines / roads
From Gerd Petermann gpetermann_muenchen at hotmail.com on Wed May 8 09:09:21 BST 2013
Hi all, beginning with r2448 I've committed changes which had an influence on the order of lines and and roads. This was not intended, just a side effect. I was not aware that this has an effect on overlaid objects, see e.g. http://gis.19327.n5.nabble.com/Commit-r2567-roads-first-v1-patch-Make-sure-that-roads-are-placed-before-other-lines-tp5756715p5759768.html The problems occurs because we have to colllect all roads first and separate them from other lines. Up to r2448 the option --preserve-element-order probably worked as expected: all objects were processed by the style in the order of appearance and they were also written in this order. Since r2448 the roads were either all written after the other lines or before. The "mkgmap:set_unconnected_type" feature is also likely to mix the order. Polygons were never effected by any of these changes. It looks quite complicated to implement the behaviour of r2448 again (also because the housenumber code needs the separation), so I wonder if it is acceptable to implement --preserve-element-order like this: we keep the order of roads and we keep the order of other ways, and we make sure that roads are added after the other ways. It would also be possible to add an option so that we add roads first if that is needed. Is this limitation a problem for anybody? Gerd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130508/7b4420c8/attachment.html
- Previous message: [mkgmap-dev] overview2 branch -- sea not rendered at resolution 12
- Next message: [mkgmap-dev] order of lines / roads
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list