Commit r4172: improve WrongAngleFixer performance and logging

Version mkgmap-r4172 was committed by gerd on Sun, 22 Apr 2018 improve WrongAngleFixer performance and logging - use DouglasPeuckerFilter with error distance 0.05 m before checking angles. This filters oversampled ways to a reasonable amoumt of nodes and doesn't remove too much needed information while it is faster than the complex angles algo. - change level from severe to warning for "Removing wrong angles - didn't finish in 20 passes, giving up!" message and report the places that were changed in the last pass. http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4172

Hi Gerd SCHWERWIEGEND (WrongAngleFixer): /home/bernd/map_build/tiles/65030248.o5m: Douglas Peucker preparation removed many points in way Way 219879749 20 -> 2 I think this messages are a little bit to much ;-) more then 1000 for one O5M tile created with 1200000 maxnodes Bernd Am Sonntag, 22. April 2018, 08:55:26 CEST schrieb svn commit:
Version mkgmap-r4172 was committed by gerd on Sun, 22 Apr 2018
improve WrongAngleFixer performance and logging
- use DouglasPeuckerFilter with error distance 0.05 m before checking angles. This filters oversampled ways to a reasonable amoumt of nodes and doesn't remove too much needed information while it is faster than the complex angles algo. - change level from severe to warning for "Removing wrong angles - didn't finish in 20 passes, giving up!" message and report the places that were changed in the last pass.
http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4172 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Hi Bernd, oops, that message was not meant to arrive in the final code. Fixed with r4173. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Bernd Weigelt <weigelt.bernd@web.de> Gesendet: Sonntag, 22. April 2018 09:50:02 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Commit r4172: improve WrongAngleFixer performance and logging Hi Gerd SCHWERWIEGEND (WrongAngleFixer): /home/bernd/map_build/tiles/65030248.o5m: Douglas Peucker preparation removed many points in way Way 219879749 20 -> 2 I think this messages are a little bit to much ;-) more then 1000 for one O5M tile created with 1200000 maxnodes Bernd Am Sonntag, 22. April 2018, 08:55:26 CEST schrieb svn commit:
Version mkgmap-r4172 was committed by gerd on Sun, 22 Apr 2018
improve WrongAngleFixer performance and logging
- use DouglasPeuckerFilter with error distance 0.05 m before checking angles. This filters oversampled ways to a reasonable amoumt of nodes and doesn't remove too much needed information while it is faster than the complex angles algo. - change level from severe to warning for "Removing wrong angles - didn't finish in 20 passes, giving up!" message and report the places that were changed in the last pass.
http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4172 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (3)
-
Bernd Weigelt
-
Gerd Petermann
-
svn commit