Class OSMGetOffBikeParser
java.lang.Object
com.graphhopper.routing.util.parsers.OSMGetOffBikeParser
- All Implemented Interfaces:
TagParser
This parser scans different OSM tags to identify ways where a cyclist has to get off her bike. Like on footway but
also in reverse oneway direction.
-
Constructor Summary
ConstructorsConstructorDescriptionOSMGetOffBikeParser
(BooleanEncodedValue getOffBikeEnc, BooleanEncodedValue bikeAccessEnc) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleWayTags
(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, IntsRef relationFlags)
-
Constructor Details
-
OSMGetOffBikeParser
- Parameters:
bikeAccessEnc
- used to find out if way is oneway and so it does not matter which bike type is used.
-
-
Method Details
-
handleWayTags
public void handleWayTags(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, IntsRef relationFlags) - Specified by:
handleWayTags
in interfaceTagParser
-