AvoidBoundingBoxAreaOptions (API Reference)
Class AvoidBoundingBoxAreaOptions
The options to specify rectangular shape which routes must not cross.
-
Field Summary
FieldsModifier and TypeFieldDescriptionArea of rectangular shape which routes must not cross.Areas of rectangular shape to exclude from avoidance.Areas of corridor shape to exclude from avoidance.Areas of polygon shape to exclude from avoidance. -
Constructor Summary
ConstructorsConstructorDescriptionAvoidBoundingBoxAreaOptions(GeoBox avoidBoundingBoxArea) Creates a new instance. -
Method Summary
-
Field Details
-
avoidBoundingBoxArea
Area of rectangular shape which routes must not cross. Strictly enforced. Note: Violations are reported as [sdk.routing.SectionNoticeCode.VIOLATED_BLOCKED_ROAD]. This avoidance option is not supported for
IsolineOptions. If it is defined for isoline calculation then an [sdk.routing.RoutingError.INVALID_PARAMETER] error is generated. -
boundingBoxExceptionAreas
Areas of rectangular shape to exclude from avoidance.
-
polygonExceptionAreas
Areas of polygon shape to exclude from avoidance.
-
corridorExceptionAreas
Areas of corridor shape to exclude from avoidance. Note: Even though
GeoCorridor.half_width_in_metersis an optional property in case of exception areas it is mandatory. Otherwise route calculation will fail with an [sdk.routing.RoutingError.INVALID_PARAMETER] error.
-
-
Constructor Details
-
AvoidBoundingBoxAreaOptions
Creates a new instance.
- Parameters:
avoidBoundingBoxArea-Area of rectangular shape which routes must not cross. Strictly enforced. Note: Violations are reported as [sdk.routing.SectionNoticeCode.VIOLATED_BLOCKED_ROAD]. This avoidance option is not supported for
IsolineOptions. If it is defined for isoline calculation then an [sdk.routing.RoutingError.INVALID_PARAMETER] error is generated.
-
-
Method Details