
Hi Enrico, attached is a quick patch that implements three new experimental options: --x-waf-max-bearing-error=15 --x-waf-max-angle=3 --x-waf-max-error-percentage=100 Meaning: --x-waf-max-bearing-error=15 The algo calculates the delta of the displayed baring and the real bearing in OSM. If the delta is larger than this, it tries to correct something. Try values between 10 and 20. --x-waf-max-angle=3 This is used to detect obsolete points. If the 3 consecutive points (P1,P2,P3) in a line form an angle < x-waf-max-angle, it is a candidate for removal. The point P2 is removed if the distance to the straight line between P1 and P3 is small enough. A higher value means that more points may be removed. Reasonable values are probably between 1 and 5. --x-waf-max-error-percentage=100 This value is used in the method that decides if the distance to the straight line is small enough. A higher value means more points are removed. Reasonable values are probably between 50 and 200. The binary based on r3430 is here: http://files.mkgmap.org.uk/download/243/mkgmap.jar If you find better values than the defaults, please let us know. The defaults are a compromize of calculation time and quality. Gerd
Date: Fri, 30 Jan 2015 01:57:31 -0700 From: e.rossini73@alice.it To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] FW: Lines distorted
ehm, I don't know how to modify the java source and compile my own library...
-- View this message in context: http://gis.19327.n5.nabble.com/Distorted-lines-tp5831842p5831910.html Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev