[mkgmap-dev] line/polygon filters fix
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Tue Mar 23 12:10:16 GMT 2021
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/ keep polygons closed with the same first/last point 3/ slight logic tidy-up 4/ add a couple of debug lines to be consistent Patch attached. Actually these didn't make any difference to the repeating points problem. This happens when there are enough unused bits in the last byte of the polyline bitsteam to represent an extra point. I can't see any good way of stopping this. Ticker -------------- next part -------------- A non-text attachment was scrubbed... Name: filters.patch Type: text/x-patch Size: 5895 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210323/21f51457/attachment.bin>
- Previous message: [mkgmap-dev] logging improvements
- Next message: [mkgmap-dev] line/polygon filters fix
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list