Class OSMMtbNetworkTagParser
java.lang.Object
com.graphhopper.routing.util.parsers.OSMMtbNetworkTagParser
- All Implemented Interfaces:
RelationTagParser
,TagParser
-
Constructor Summary
ConstructorsConstructorDescriptionOSMMtbNetworkTagParser
(EnumEncodedValue<RouteNetwork> bikeRouteEnc, EncodedValue.InitializerConfig relConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRelationTags
(IntsRef relFlags, ReaderRelation relation) Analyze the tags of a relation and create the routing flags for the second read step.void
handleWayTags
(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, IntsRef relationFlags)
-
Constructor Details
-
OSMMtbNetworkTagParser
public OSMMtbNetworkTagParser(EnumEncodedValue<RouteNetwork> bikeRouteEnc, EncodedValue.InitializerConfig relConfig)
-
-
Method Details
-
handleRelationTags
Description copied from interface:RelationTagParser
Analyze the tags of a relation and create the routing flags for the second read step. In the pre-parsing step this method will be called to determine the useful relation tags.- Specified by:
handleRelationTags
in interfaceRelationTagParser
-
handleWayTags
public void handleWayTags(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, IntsRef relationFlags) - Specified by:
handleWayTags
in interfaceTagParser
-
getTransformerRouteRelEnc
-