logo separator

[mkgmap-dev] r2829 in the high-prec-coord branch

From GerdP gpetermann_muenchen at hotmail.com on Mon Nov 18 21:43:58 GMT 2013

Hi all,

I've coded a replacement for the removeShortArcsByMergingNodes() method,
called removeWrongAngles().
It also replaces the code to beautify roundabouts.
Function:
1) remove zero length arcs and
2) remove wrong angles caused by rounding to map units
(both only in roads and the overlaying lines).
Up to now, the method accepts errors in angles of up to 30°, maybe 
this is going to change.

The problem with the wrong angles occurs very often in
roundabouts, but also in other places (causing zig-zagging)
It still removes extremely short ways (when all points are rounded
to the same point in map units)

Please let me know what you think about it.

Gerd







--
View this message in context: http://gis.19327.n5.nabble.com/r2829-in-the-high-prec-coord-branch-tp5786060.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list