Hi,

We got some data where there are extra nodes, which I'd like to get rid of
before integrating it into OSM.

The simplify function is too coarse for the purpose and doing it manually
gets tedious.

Is there a way to determine that 3 nodes are on a straight line, or is it
possible to calculate the bearing (directional coefficient?) of the line
intersecting 2 points? If this is the same for two consecutive lines, the
node in between can be safely removed. (I'll check that it's not part of an
adjacent building first, of course).

Jo
_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to