public class RoadsTagParser extends VehicleTagParser
| Modifier and Type | Field and Description |
|---|---|
static double |
ROADS_MAX_SPEED |
accessEnc, avgSpeedEnc, barriers, ferries, ferrySpeedCalc, intendedValues, maxPossibleSpeed, oneways, restrictedValues, restrictions, roundaboutEnc| Constructor and Description |
|---|
RoadsTagParser(BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
DecimalEncodedValue turnCostEnc) |
RoadsTagParser(EncodedValueLookup lookup,
PMap properties) |
| Modifier and Type | Method and Description |
|---|---|
WayAccess |
getAccess(ReaderWay way)
Decide whether a way is routable for a given mode of travel.
|
IntsRef |
handleWayTags(IntsRef edgeFlags,
ReaderWay way)
Analyze properties of a way and create the edge flags.
|
boolean |
isBarrier(ReaderNode node) |
blockFords, blockPrivate, getAccessEnc, getAverageSpeedEnc, getConditionalTagInspector, getMaxSpeed, getMaxSpeed, getName, getRestrictions, getTurnCostEnc, handleNodeTags, handleWayTags, init, isBlockFords, isValidSpeed, setConditionalTagInspector, setSpeed, supportsTurnCosts, toStringpublic static final double ROADS_MAX_SPEED
public RoadsTagParser(EncodedValueLookup lookup, PMap properties)
public RoadsTagParser(BooleanEncodedValue accessEnc, DecimalEncodedValue speedEnc, DecimalEncodedValue turnCostEnc)
public IntsRef handleWayTags(IntsRef edgeFlags, ReaderWay way)
VehicleTagParserhandleWayTags in class VehicleTagParserpublic WayAccess getAccess(ReaderWay way)
VehicleTagParsergetAccess in class VehicleTagParserpublic boolean isBarrier(ReaderNode node)
isBarrier in class VehicleTagParserCopyright © 2012–2022. All rights reserved.