It might be nice to merge two lines only when the resulting turn angle (as we pass from one curve to the next) is less than a given amount. This way line segments can be merged if they form a straight or nearly-straight polyline, but not if they create significant turns.
It might be nice to merge two lines only when the resulting turn angle (as we pass from one curve to the next) is less than a given amount. This way line segments can be merged if they form a straight or nearly-straight polyline, but not if they create significant turns.