| name | data type | description |
|---|---|---|
| type | TurnRestrictionType | |
| from | StreetEdge | |
| to | StreetEdge | |
| time | RepeatingTimePeriod | |
| modes | TraverseModeSet |
Example
{
"type" : "ONLY_TURN",
"from" : {
"elevationProfile" : {
"dimension" : 12345,
"measures" : 12345
},
"elevationFlattened" : true,
"maxSlope" : 12345.0,
"effectiveBikeDistance" : 12345.0,
"effectiveBikeDistanceForWorkCost" : 12345.0,
"bicycleSafetyFactor" : 12345.0,
"effectiveBicycleSafetyDistance" : 12345.0,
"walkSafetyFactor" : 12345.0,
"effectiveWalkSafetyDistance" : 12345.0,
"roundabout" : true,
"name" : { },
"geometry" : {
"coordinate" : { },
"boundary" : { },
"empty" : true,
"boundaryDimension" : 12345,
"coordinateSequence" : { },
"coordinates" : [ { }, { } ],
"ring" : true,
"length" : 12345.0,
"numPoints" : 12345,
"closed" : true,
"startPoint" : { },
"endPoint" : { },
"geometryType" : "...",
"dimension" : 12345,
"envelope" : { },
"rectangle" : true,
"centroid" : { },
"simple" : true,
"interiorPoint" : { },
"factory" : { },
"valid" : true,
"precisionModel" : { },
"envelopeInternal" : { },
"area" : 12345.0,
"userData" : { },
"numGeometries" : 12345,
"SRID" : 12345
},
"distanceMeters" : 12345.0,
"effectiveWalkDistance" : 12345.0,
"wheelchairAccessible" : true,
"permission" : "PEDESTRIAN",
"back" : true,
"walkNoThruTraffic" : true,
"motorVehicleNoThruTraffic" : true,
"bicycleNoThruTraffic" : true,
"stairs" : true,
"link" : true,
"carSpeed" : 12345.0,
"slopeOverride" : true,
"inAngle" : 12345,
"outAngle" : 12345,
"turnRestrictions" : [ {
"type" : "ONLY_TURN",
"from" : { },
"to" : { },
"time" : { },
"modes" : { }
}, {
"type" : "ONLY_TURN",
"from" : { },
"to" : { },
"time" : { },
"modes" : { }
} ],
"fromVertex" : {
"outgoing" : [ { }, { } ],
"incoming" : [ { }, { } ],
"degreeOut" : 12345,
"degreeIn" : 12345,
"x" : 12345.0,
"y" : 12345.0,
"lon" : 12345.0,
"lat" : 12345.0,
"name" : { },
"defaultName" : "...",
"stationElement" : { },
"label" : "...",
"coordinate" : { },
"incomingStreetEdges" : [ { }, { } ],
"outgoingStreetEdges" : [ { }, { } ]
},
"toVertex" : {
"outgoing" : [ { }, { } ],
"incoming" : [ { }, { } ],
"degreeOut" : 12345,
"degreeIn" : 12345,
"x" : 12345.0,
"y" : 12345.0,
"lon" : 12345.0,
"lat" : 12345.0,
"name" : { },
"defaultName" : "...",
"stationElement" : { },
"label" : "...",
"coordinate" : { },
"incomingStreetEdges" : [ { }, { } ],
"outgoingStreetEdges" : [ { }, { } ]
},
"defaultName" : "...",
"distanceIndependentTime" : 12345
},
"to" : {
"elevationProfile" : {
"dimension" : 12345,
"measures" : 12345
},
"elevationFlattened" : true,
"maxSlope" : 12345.0,
"effectiveBikeDistance" : 12345.0,
"effectiveBikeDistanceForWorkCost" : 12345.0,
"bicycleSafetyFactor" : 12345.0,
"effectiveBicycleSafetyDistance" : 12345.0,
"walkSafetyFactor" : 12345.0,
"effectiveWalkSafetyDistance" : 12345.0,
"roundabout" : true,
"name" : { },
"geometry" : {
"coordinate" : { },
"boundary" : { },
"empty" : true,
"boundaryDimension" : 12345,
"coordinateSequence" : { },
"coordinates" : [ { }, { } ],
"ring" : true,
"length" : 12345.0,
"numPoints" : 12345,
"closed" : true,
"startPoint" : { },
"endPoint" : { },
"geometryType" : "...",
"dimension" : 12345,
"envelope" : { },
"rectangle" : true,
"centroid" : { },
"simple" : true,
"interiorPoint" : { },
"factory" : { },
"valid" : true,
"precisionModel" : { },
"envelopeInternal" : { },
"area" : 12345.0,
"userData" : { },
"numGeometries" : 12345,
"SRID" : 12345
},
"distanceMeters" : 12345.0,
"effectiveWalkDistance" : 12345.0,
"wheelchairAccessible" : true,
"permission" : "PEDESTRIAN_AND_BICYCLE",
"back" : true,
"walkNoThruTraffic" : true,
"motorVehicleNoThruTraffic" : true,
"bicycleNoThruTraffic" : true,
"stairs" : true,
"link" : true,
"carSpeed" : 12345.0,
"slopeOverride" : true,
"inAngle" : 12345,
"outAngle" : 12345,
"turnRestrictions" : [ {
"type" : "NO_TURN",
"from" : { },
"to" : { },
"time" : { },
"modes" : { }
}, {
"type" : "ONLY_TURN",
"from" : { },
"to" : { },
"time" : { },
"modes" : { }
} ],
"fromVertex" : {
"outgoing" : [ { }, { } ],
"incoming" : [ { }, { } ],
"degreeOut" : 12345,
"degreeIn" : 12345,
"x" : 12345.0,
"y" : 12345.0,
"lon" : 12345.0,
"lat" : 12345.0,
"name" : { },
"defaultName" : "...",
"stationElement" : { },
"label" : "...",
"coordinate" : { },
"incomingStreetEdges" : [ { }, { } ],
"outgoingStreetEdges" : [ { }, { } ]
},
"toVertex" : {
"outgoing" : [ { }, { } ],
"incoming" : [ { }, { } ],
"degreeOut" : 12345,
"degreeIn" : 12345,
"x" : 12345.0,
"y" : 12345.0,
"lon" : 12345.0,
"lat" : 12345.0,
"name" : { },
"defaultName" : "...",
"stationElement" : { },
"label" : "...",
"coordinate" : { },
"incomingStreetEdges" : [ { }, { } ],
"outgoingStreetEdges" : [ { }, { } ]
},
"defaultName" : "...",
"distanceIndependentTime" : 12345
},
"time" : { },
"modes" : {
"bicycle" : true,
"walk" : true,
"car" : true,
"modes" : [ "SCOOTER", "WALK" ],
"valid" : true
}
}