How much the curve has to offer a rider, as roadcurvature.com scores roads: the length of its
arc, radiusInMeters times the heading change in radians, with each metre counted:
How far the heading turns along the curve: positive to the right, negative to the left. It can pass 180° on a hairpin or a roundabout.
The length of the curve, along the route, from where it starts turning to where it straightens.
Optionalmaneuver?: ManeuverThe maneuver of the guidance instruction on the curve, such as TURN_LEFT or
ROUNDABOUT_RIGHT. It tells a turn at a junction from a bend of the road, so it is absent:
guidance.The radius of the circle the curve follows where it turns tightest, over the shortest part of it that turns four fifths of its heading change: a curve can ease in on a wide bend first.
How hard the curve is to drive, from 0 to 1: how much a driver slows down for it, from the speed limit on the road leading into it.
maneuver, scores as one the driver
slows right down for, however wide its corner is drawn.speedLimit sections, so ask for them along with the curves. Where the
route has no limit for the road, it takes a typical limit outside towns.The SDK finds curves in the route's geometry, with getCurveSections. A small radius with a large heading change makes a hard curve: a hairpin turns some 180° on a radius of 10 to 20 metres.
A curve of a route: a stretch where the road keeps turning the same way.