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

2021-03-29 Thread Ticker Berkin
Montag, 29. März 2021 10:45 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] line/polygon filters fix > > Hi Ticker, > > can you give me an example where the isStraight test doesn't return > STRICTLY_STRAIGHT if c2 and c3 are equal? > > Gerd > > __

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

2021-03-29 Thread Gerd Petermann
Betreff: Re: [mkgmap-dev] line/polygon filters fix Hi Gerd On a road, if there is a normal Coord, immediately followed CoordNode (junction) or HouseNumber node and they are in the same Garmin-square for level0/maxRes then the CoordNode got duplicated. The isStraight test won't remove it again

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

2021-03-29 Thread Gerd Petermann
: Re: [mkgmap-dev] line/polygon filters fix Hi Gerd On a road, if there is a normal Coord, immediately followed CoordNode (junction) or HouseNumber node and they are in the same Garmin-square for level0/maxRes then the CoordNode got duplicated. The isStraight test won't remove it again because

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

2021-03-29 Thread Ticker Berkin
_ > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet: Donnerstag, 25. März 2021 11:14 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] line/polygon filters fix > > Hi Gerd > > I doubt if forced close is needed - a mix of identical and eq

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

2021-03-28 Thread Gerd Petermann
rstag, 25. März 2021 11:14 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] line/polygon filters fix Hi Gerd I doubt if forced close is needed - a mix of identical and equal endPoint polygons has been fed through the filters and RGN polyline processing for a long time without *noticeab

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

2021-03-25 Thread Ticker Berkin
that relies on this? > > Gerd > > > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet: Donnerstag, 25. März 2021 10:47 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] line/polygon filters fix > > Hi Gerd &g

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

2021-03-25 Thread Gerd Petermann
ed 1st point is preserved? > > Gerd > > > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet: Dienstag, 23. März 2021 14:17 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] line/polygon filters fix > > Hi

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

2021-03-25 Thread Ticker Berkin
d? > > Gerd > > > Von: mkgmap-dev im Auftrag > von Ticker Berkin > Gesendet: Dienstag, 23. März 2021 14:17 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] line/polygon filters fix > > Hi Gerd > > I don'

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

2021-03-24 Thread Gerd Petermann
: Re: [mkgmap-dev] line/polygon filters fix 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

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

2021-03-24 Thread Gerd Petermann
ows 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 G

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

2021-03-23 Thread Ticker Berkin
> > 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 trying to diagnose

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

[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/