
Hi Gerd I've added code to deal with some variants of the case as described - I hope this will be enough to cope with more complex shapes generated by ShapeMerger. There might be a bit more I can do without having to resort to more complex geometry analysis if it still gives problems. I've also restructured it a bit. Patch attached based on low-res-opt. Trunk version will be the same (but the patch would be different) Ticker On Mon, 2021-05-31 at 17:12 +0100, Ticker Berkin wrote:
Hi Gerd
shapeSplitter will have problems (ie get it wrong some of the time) where there are in/out lines to a hole that share the same cut point as a line that is the boundary between a shape and hole; could be many holes (or shapes) and many lines. The simple sort/dedupe I was doing isn't adequate. I'll come up with something better tomorrow.
Ticker
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev