Constructor
(abstract) new RoadFeature(options)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | see below the available values.
Properties
|
- Source:
Members
(protected) AverageSpeed :Int
Type:
- Int
- Source:
(protected) Bridge :Boolean
Type:
- Boolean
- Source:
(protected) CarPool :Boolean
Type:
- Boolean
- Source:
(protected) CondMaxSpeed :Array.<bemap.CondMaxSpeed>
Type:
- Array.<bemap.CondMaxSpeed>
- Source:
(protected) DirectionFlow :String
Type:
- String
- Source:
(protected) DualCarriageway :Int
Type:
- Int
- Source:
(protected) Length :Int
Type:
- Int
- Source:
(protected) MainCategory :Boolean
Type:
- Boolean
- Source:
(protected) MatchDir :String
Type:
- String
- Source:
(protected) MaxSpeed :Int
Type:
- Int
- Source:
(protected) MaxSpeedVerified :Boolean
Type:
- Boolean
- Source:
(protected) NbLaneNeg :Int
Type:
- Int
- Source:
(protected) NbLanePos :Int
Type:
- Int
- Source:
(protected) NoThroughTr :Int
Type:
- Int
- Source:
(protected) PedestrianInfrastructureType :String
Type:
- String
- Source:
(protected) Tax :Int
Type:
- Int
- Source:
(protected) Toll :Int
Type:
- Int
- Source:
(protected) Tunnel :Boolean
Type:
- Boolean
- Source:
(protected) Urban :Boolean
Type:
- Boolean
- Source:
Methods
getAverageSpeed()
Get the average speed in kph.
- Source:
Returns:
getBridge() → {Boolean}
Get the flag that indicates if road is part of a bridge or not.
- Source:
Returns:
- Type
- Boolean
getCarPool() → {Boolean}
Get the flag that indicates if road is reserved to carpooling.
- Source:
Returns:
- Type
- Boolean
getCondMaxSpeed() → {Array.<bemap.CondMaxSpeed>}
Get the conditional max speed.
- Source:
Returns:
- Type
- Array.<bemap.CondMaxSpeed>
getDirectionFlow() → {String}
Get the direction of traffic flow per transportation modes.
- Source:
Returns:
- Type
- String
getDualCarriageway() → {Int}
Get the flag that indicates if road is part of a dual carriageway(e.g.with physical separation between opposite traffic sides).
- Source:
Returns:
- Type
- Int
getLength() → {Int}
Get the length in meters.
- Source:
Returns:
- Type
- Int
getMainCategory() → {Boolean}
Get the flag that enables discrimination within road 's of a same FCC type.
- Source:
Returns:
- Type
- Boolean
getMatchDir() → {String}
Get the matching direction.
- Source:
Returns:
- Type
- String
getMaxSpeed() → {Int}
Get the speed limit in kph
- Source:
Returns:
- Type
- Int
getMaxSpeedVerified() → {Boolean}
Get max speed verified flag.
- Source:
Returns:
- Type
- Boolean
getNbLaneNeg() → {Int}
Get The number of lanes in negative direction.
- Source:
Returns:
- Type
- Int
getNbLanePos() → {Int}
Get The number of lanes in positive direction.
- Source:
Returns:
- Type
- Int
getNoThroughTr() → {Int}
Get
- Source:
Returns:
- Type
- Int
getPedestrianInfrastructureType() → {String}
Get the pedestrian infrastructure type
- Source:
Returns:
- Type
- String
getTax() → {Int}
Get the fields that indicates if road is submitted to a government tax(like German MAUT, etc).
- Source:
Returns:
- Type
- Int
getToll() → {Int}
Get toll information.
- Source:
Returns:
- Type
- Int
getTunnel() → {Boolean}
Get the flag that indicates if road is part of a tunnel or not.
- Source:
Returns:
- Type
- Boolean
getUrban() → {Boolean}
Get the urban / not urban flag.
- Source:
Returns:
- Type
- Boolean