public class MountainBikeFlagEncoder extends BikeCommonFlagEncoder
TurnCostEncoder.NoTurnCostsEncoder
avoidHighwayTags, K_UNPAVED, oppositeLanes, preferHighwayTags, PUSHING_SECTION_SPEED, pushingSectionsHighways, relationCodeEncoder, speedTwoDirections, unpavedSurfaceTags
absoluteBarriers, accessEnc, encodedValueLookup, ferries, intendedValues, LONG_TRIP_FERRY_SPEED, maxPossibleSpeed, oneways, potentialBarriers, properties, restrictedValues, restrictions, roundaboutEnc, SHORT_TRIP_FERRY_SPEED, speedBits, speedDefault, speedEncoder, speedFactor, UNKNOWN_DURATION_FERRY_SPEED
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(long oldRelationFlags,
ReaderRelation relation)
Analyze the properties of a relation and create the routing flags for the second read step.
|
String |
toString() |
applyMaxSpeed, createEncodedValues, defineRelationBits, getAccess, getAnnotation, getHighwaySpeed, handlePriority, handleSpeed, handleWayTags, setAvoidSpeedLimit, setHighwaySpeed, setSpecificClassBicycle, supports
applyWayTags, defineNodeBits, defineTurnBits, equals, flagsDefault, getAccessEnc, getAverageSpeedEnc, getBooleanEncodedValue, getConditionalTagInspector, getDecimalEncodedValue, getEncodedValue, getEnumEncodedValue, getFerrySpeed, getIntEncodedValue, getMaxSpeed, getMaxSpeed, getPropertiesString, getTurnCost, getTurnFlags, handleNodeTags, hasEncoder, hashCode, init, isBlockFords, isRegistered, isTurnRestricted, parseSpeed, setBlockByDefault, setBlockFords, setConditionalTagInspector, setEncodedValueLookup, setRegistered, 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(long oldRelationFlags, ReaderRelation relation)
AbstractFlagEncoder
handleRelationTags
in class BikeCommonFlagEncoder
Copyright © 2012–2019. All rights reserved.