Re: [mkgmap-dev] line/polygon filters fix

2021-03-23 Thread Ticker Berkin
Hi Gerd I don't get any detectable failures, but this might cause difficulties with adjacent junctions and/or housenumbers. If there are two adjacent equal points, with the first not preserved and the second preserved, the existing RemoveObsoleteFilter will replace the first with the second and l

Re: [mkgmap-dev] line/polygon filters fix

2021-03-23 Thread Gerd Petermann
Hi Ticker, please add a unit test that shows where the old code fails. Gerd Von: mkgmap-dev im Auftrag von Ticker Berkin Gesendet: Dienstag, 23. März 2021 13:10 An: mkgmap development Betreff: [mkgmap-dev] line/polygon filters fix Hi Gerd I was tryin

[mkgmap-dev] line/polygon filters fix

2021-03-23 Thread Ticker Berkin
Hi Gerd I was trying to diagnose a problem with a repeating points in polylines as reported by GPSMapEdit and found a problem in RemoveObsoletePointsFilter where it duplicates a point. Also in this and/or RoundCoordsFilter I've made some changes: 1/ stop the chain when polygons get too small 2/ k