PhysicalAttributes class
Physical attributes of the segment.
Note a road can have more than one attribute at the same time.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
Properties
- divider ↔ RoadDivider?
-
Indicates the presence of a road divider.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- isBoatFerry ↔ bool
-
Identifies a generalised route of a boat ferry for passengers or vehicles over water.
getter/setter pair
- isBridge ↔ bool
-
Identifies 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.
getter/setter pair
- isDirtRoad ↔ bool
-
Indicates 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.
getter/setter pair
- isDividedRoad ↔ bool
-
Indicates 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.
getter/setter pair
- isMultiplyDigitized ↔ bool
-
Identifies separately digitised roads, i.e., roads that are digitised with one line per
direction of traffic instead of one line per road.
It may be flagged on roads when certain physical features (e.g. a walkway, a tram, a bus
lane) are located between the separately digitised opposing roadbeds if driver perception
remains unchanged.
getter/setter pair
- isPrivate ↔ bool
-
Private 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.
getter/setter pair
- isRailFerry ↔ bool
-
Identifies a generalised route of a ferry for passengers or vehicles via rail. It is applied
on a segment that represent a ferry route for vehicles over rail such as: a route for
ferrying passengers over rail, if destination is not accessible by the road network or
prohibits the use of automobiles.
getter/setter pair
- isRoundabout ↔ bool
-
Indicates the presence of a roundabout.
getter/setter pair
- isTunnel ↔ bool
-
Identifies an enclosed (on all sides) passageway through or under an obstruction.
This attribute can be used for display or route guidance.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.