Stops aren't fun, so intersections should be skipped in calculating curvature.
One mechanism to filter these is to look for adjoining nodes with highway=stop or highway=traffic_signals and ignore the curvature of the intersection.
Another technique that may work when highway=stop/traffic_signals nodes aren't provided is to calculate the angle between any triplet of nodes and exclude any angles tighter than some threshold -- e.g. ~90-degree and tighter corners made up of 3 nodes (not smoothed into a curve) are probably intersections.
Stops aren't fun, so intersections should be skipped in calculating curvature.
One mechanism to filter these is to look for adjoining nodes with
highway=stop
orhighway=traffic_signals
and ignore the curvature of the intersection.Another technique that may work when
highway=stop
/traffic_signals
nodes aren't provided is to calculate the angle between any triplet of nodes and exclude any angles tighter than some threshold -- e.g. ~90-degree and tighter corners made up of 3 nodes (not smoothed into a curve) are probably intersections.