[mkgmap-dev] [PATCH v1] Multipolygon: Distinct processing for line and polygon tagging
From WanMil wmgcnfg at web.de on Mon Sep 13 20:13:27 BST 2010
This patch enables mkgmap to make use of real multipolygons and of multipolygons where only the members should be tagged (e.g. country boundaries) without any change on the style rules. It adds a copy of each original line of a multipolygon with an outer role, tags them with the mp tags and an additional mkgmap:stylefilter=polyline. The generated polygon elements are tagged with mkgmap:stylefilter=polygon. The style system evaluates the mkgmap:stylefilter tag and processes such tagged elements only with the appropriate style rules. The --process-boundary-relations option is no longer neccessary and has been removed. WanMil P.S.: Please have a look on the StyleTester class. I am not sure if I have implemented a good solution :-) -------------- next part -------------- A non-text attachment was scrubbed... Name: mp_linetags_v1.patch Type: text/x-patch Size: 12258 bytes Desc: not available Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20100913/72535aa7/attachment.bin
- Previous message: [mkgmap-dev] Commit: r1683: Moved all code that is run after the file is read out of Osm5XmlHandler and
- Next message: [mkgmap-dev] Commit: r1684: Split the generateSea method into smaller pieces.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list