public abstract class BikeCommonTagParser extends VehicleTagParser
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
avoidHighwayTags |
static double |
MAX_SPEED |
protected static int |
MIN_SPEED |
protected HashSet<String> |
oppositeLanes |
protected Set<String> |
preferHighwayTags |
protected DecimalEncodedValue |
priorityEnc |
protected static int |
PUSHING_SECTION_SPEED |
protected HashSet<String> |
pushingSectionsHighways |
protected Set<String> |
unpavedSurfaceTags |
accessEnc, avgSpeedEnc, barriers, ferries, ferrySpeedCalc, intendedValues, maxPossibleSpeed, oneways, restrictedValues, restrictions, roundaboutEnc| Modifier | Constructor and Description |
|---|---|
protected |
BikeCommonTagParser(BooleanEncodedValue accessEnc,
DecimalEncodedValue speedEnc,
DecimalEncodedValue priorityEnc,
EnumEncodedValue<RouteNetwork> bikeRouteEnc,
EnumEncodedValue<Smoothness> smoothnessEnc,
String name,
BooleanEncodedValue roundaboutEnc,
DecimalEncodedValue turnCostEnc) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
applyMaxSpeed(ReaderWay way,
double speed) |
WayAccess |
getAccess(ReaderWay way)
Decide whether a way is routable for a given mode of travel.
|
protected void |
handleAccess(IntsRef edgeFlags,
ReaderWay way) |
IntsRef |
handleWayTags(IntsRef edgeFlags,
ReaderWay way)
Analyze properties of a way and create the edge flags.
|
blockFords, blockPrivate, getAccessEnc, getAverageSpeedEnc, getConditionalTagInspector, getMaxSpeed, getMaxSpeed, getName, getRestrictions, getTurnCostEnc, handleNodeTags, handleWayTags, init, isBarrier, isBlockFords, isValidSpeed, setConditionalTagInspector, setSpeed, supportsTurnCosts, toStringpublic static double MAX_SPEED
protected static final int PUSHING_SECTION_SPEED
protected static final int MIN_SPEED
protected final DecimalEncodedValue priorityEnc
protected BikeCommonTagParser(BooleanEncodedValue accessEnc, DecimalEncodedValue speedEnc, DecimalEncodedValue priorityEnc, EnumEncodedValue<RouteNetwork> bikeRouteEnc, EnumEncodedValue<Smoothness> smoothnessEnc, String name, BooleanEncodedValue roundaboutEnc, DecimalEncodedValue turnCostEnc)
public WayAccess getAccess(ReaderWay way)
VehicleTagParsergetAccess in class VehicleTagParserprotected double applyMaxSpeed(ReaderWay way, double speed)
way - needed to retrieve tagsspeed - speed guessed e.g. from the road type or other tagspublic IntsRef handleWayTags(IntsRef edgeFlags, ReaderWay way)
VehicleTagParserhandleWayTags in class VehicleTagParserCopyright © 2012–2022. All rights reserved.