RoadAttributes (API Reference)
Class RoadAttributes
Road attributes, including usage and physical characteristics. Note that a road can have more than one attribute at the same time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIdentifies a structure that allows a road, railway, or walkway to pass over another road, railway, waterway, or valley serving map display and route guidance functionalities.booleanIndicates if the navigable segment is a built up area.booleanControlled access roads are roads with limited entrances and exits that allow uninterrupted high-speed traffic flow.booleanIndicates whether the navigable segment is paved.booleanIndicates if there is a physical structure or painted road marking intended to legally prohibit left turns in right-side driving countries, right turns in left-side driving countries, and U-turns at divided intersections or in the middle of divided segments.booleanIdentifies a no through road.booleanPrivate identifies roads that are not maintained by an organization responsible for maintenance of public roads.booleanRange is a ramp: connects roads that do not intersect at grade.booleanIndicates if vehicles have to drive on the right-hand side of the road or the left-hand side.booleanIndicates the presence of a roundabout.booleanIdentifies a road for which a fee must be paid to use the road.booleanIdentifies an enclosed (on all sides) passageway through or under an obstruction. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isDirtRoad
public boolean isDirtRoadIndicates whether the navigable segment is paved. Paved is primarily used for map display and routing by assigning higher penalties to unpaved roads. Paved roads are made of concrete, asphalt, cobblestone or brick. Unpaved roads do not have a solid surface, e.g. are made of gravel, dirt or grass.
-
isTunnel
public boolean isTunnelIdentifies an enclosed (on all sides) passageway through or under an obstruction. This attribute can be used for display or route guidance.
-
isBridge
public boolean isBridgeIdentifies a structure that allows a road, railway, or walkway to pass over another road, railway, waterway, or valley serving map display and route guidance functionalities. Bridge is published on segments that represent significant bridges and/or overpasses; elevated roads are not published as bridge.
-
isRamp
public boolean isRampRange is a ramp: connects roads that do not intersect at grade. Ramp allows explication of maneuvers involving ramps (e.g., “Take the ramp”) and for route guidance when determining if sign text should be used.
-
isControlledAccess
public boolean isControlledAccessControlled access roads are roads with limited entrances and exits that allow uninterrupted high-speed traffic flow. For example, the Interstate/Freeway network in the United States or the Motorway network in Europe. Controlled Access can be used for map display, avoidance of freeway/motorway, publishing speed limits, and route guidance timing.
-
isPrivate
public boolean isPrivatePrivate identifies roads that are not maintained by an organization responsible for maintenance of public roads. Allows for unique cartographic representation of roads that restrict public use. May be used to avoid routing through a private road.
-
isNoThrough
public boolean isNoThroughIdentifies a no through road. This can also be a part of the route you can only enter or leave if it’s a waypoint.
-
isTollway
public boolean isTollwayIdentifies a road for which a fee must be paid to use the road. Tollway may be used for map display (e.g., different rendering of toll roads) and routing. Tollway is flagged on roads that require a fee for traversal.
-
isDividedRoad
public boolean isDividedRoadIndicates if there is a physical structure or painted road marking intended to legally prohibit left turns in right-side driving countries, right turns in left-side driving countries, and U-turns at divided intersections or in the middle of divided segments.
-
isRightDrivingSide
public boolean isRightDrivingSideIndicates if vehicles have to drive on the right-hand side of the road or the left-hand side. For example, in New York it is always
trueand in London alwaysfalseas the United Kingdom is a left-hand driving country. -
isRoundabout
public boolean isRoundaboutIndicates the presence of a roundabout.
-
isBuiltUpArea
public boolean isBuiltUpAreaIndicates if the navigable segment is a built up area.
-
-
Constructor Details
-
RoadAttributes
public RoadAttributes()Creates a new instance.
-
-
Method Details