public class WheelchairFlagEncoder extends FootFlagEncoder
sidewalksNoValues, sidewalkValues, speedTwoDirectionsabsoluteBarriers, accessEnc, avgSpeedEnc, encodedValueLookup, ferries, intendedValues, LONG_TRIP_FERRY_SPEED, maxPossibleSpeed, oneways, potentialBarriers, restrictedValues, restrictions, roundaboutEnc, SHORT_TRIP_FERRY_SPEED, speedBits, speedDefault, speedFactor, UNKNOWN_DURATION_FERRY_SPEED| Modifier | Constructor and Description |
|---|---|
|
WheelchairFlagEncoder()
Should be only instantiated via EncodingManager
|
protected |
WheelchairFlagEncoder(int speedBits,
double speedFactor) |
|
WheelchairFlagEncoder(PMap properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyWayTags(ReaderWay way,
EdgeIteratorState edge)
Calculate slopes from elevation data and set speed according to that.
|
EncodingManager.Access |
getAccess(ReaderWay way)
Avoid some more ways than for pedestrian like hiking trails.
|
int |
getVersion() |
protected int |
handlePriority(ReaderWay way,
Integer priorityFromRelation)
First get priority from
FootFlagEncoder.handlePriority(ReaderWay, Integer) then evaluate wheelchair specific
tags. |
IntsRef |
handleWayTags(IntsRef edgeFlags,
ReaderWay way,
EncodingManager.Access access)
Analyze properties of a way and create the edge flags.
|
String |
toString() |
createEncodedValues, getTransportationMode, supportsapplyMaxSpeed, blockBarriersByDefault, blockFords, blockPrivate, defineNodeBits, equals, flagsDefault, getAccessEnc, getAllShared, getAverageSpeedEnc, getBooleanEncodedValue, getConditionalTagInspector, getDecimalEncodedValue, getEncodedValue, getEnumEncodedValue, getFerrySpeed, getIntEncodedValue, getMaxSpeed, getMaxSpeed, getMaxTurnCosts, getPropertiesString, handleNodeTags, hasEncodedValue, hashCode, init, isBlockFords, isRegistered, parseSpeed, setConditionalTagInspector, setEncodedValueLookup, setSpeed, supportsTurnCostspublic WheelchairFlagEncoder()
public WheelchairFlagEncoder(PMap properties)
protected WheelchairFlagEncoder(int speedBits,
double speedFactor)
public int getVersion()
getVersion in interface FlagEncodergetVersion in class FootFlagEncoderpublic EncodingManager.Access getAccess(ReaderWay way)
getAccess in class FootFlagEncoderpublic IntsRef handleWayTags(IntsRef edgeFlags, ReaderWay way, EncodingManager.Access access)
AbstractFlagEncoderhandleWayTags in class FootFlagEncoderpublic void applyWayTags(ReaderWay way, EdgeIteratorState edge)
applyWayTags in class AbstractFlagEncoderprotected int handlePriority(ReaderWay way, Integer priorityFromRelation)
FootFlagEncoder.handlePriority(ReaderWay, Integer) then evaluate wheelchair specific
tags.public String toString()
toString in class FootFlagEncoderCopyright © 2012–2020. All rights reserved.