public class MountainBikeFlagEncoder extends BikeCommonFlagEncoder
TurnCostEncoder.NoTurnCostsEncoder
avoidHighwayTags, K_UNPAVED, oppositeLanes, preferHighwayTags, PUSHING_SECTION_SPEED, pushingSectionsHighways, relationCodeEncoder, unpavedSurfaceTags
absoluteBarriers, acceptBit, backwardBit, directionBitMask, edgeInExplorer, edgeOutExplorer, ferries, ferryBit, forwardBit, intendedValues, K_BACKWARD, K_FORWARD, LONG_TRIP_FERRY_SPEED, maxPossibleSpeed, oneways, potentialBarriers, properties, restrictedValues, restrictions, roundaboutBit, SHORT_TRIP_FERRY_SPEED, speedBits, speedEncoder, speedFactor, UNKNOWN_DURATION_FERRY_SPEED
K_ROUNDABOUT
Constructor and Description |
---|
MountainBikeFlagEncoder() |
MountainBikeFlagEncoder(int speedBits,
double speedFactor,
int maxTurnCosts) |
MountainBikeFlagEncoder(PMap properties) |
MountainBikeFlagEncoder(String propertiesStr) |
Modifier and Type | Method and Description |
---|---|
int |
getVersion() |
long |
handleRelationTags(ReaderRelation relation,
long oldRelationFlags)
Analyze the properties of a relation and create the routing flags for the second read step.
|
String |
toString() |
acceptWay, applyMaxSpeed, defineRelationBits, defineWayBits, getAnnotation, getDouble, getHighwaySpeed, handlePriority, handleSpeed, handleWayTags, isBool, setAvoidSpeedLimit, setBool, setHighwaySpeed, setSpecificClassBicycle, supports
applyWayTags, defineNodeBits, defineTurnBits, equals, flagsDefault, getConditionalTagInspector, getFerrySpeed, getLong, getMaxSpeed, getMaxSpeed, getPropertiesString, getReverseSpeed, getSpeed, getTurnCost, getTurnFlags, handleNodeTags, hashCode, init, isAccept, isBackward, isBlockFords, isFerry, isForward, isRegistered, isTurnRestricted, parseSpeed, reverseFlags, setAccess, setBlockByDefault, setBlockFords, setConditionalTagInspector, setDouble, setLong, setLowSpeed, setProperties, setRegistered, setReverseSpeed, setSpeed
public MountainBikeFlagEncoder()
public MountainBikeFlagEncoder(PMap properties)
public MountainBikeFlagEncoder(String propertiesStr)
public MountainBikeFlagEncoder(int speedBits, double speedFactor, int maxTurnCosts)
public int getVersion()
getVersion
in interface FlagEncoder
getVersion
in class BikeCommonFlagEncoder
public long handleRelationTags(ReaderRelation relation, long oldRelationFlags)
AbstractFlagEncoder
handleRelationTags
in class BikeCommonFlagEncoder
Copyright © 2012–2018. All rights reserved.