Class OSMFootNetworkTagParser
java.lang.Object
com.graphhopper.routing.util.parsers.OSMFootNetworkTagParser
- All Implemented Interfaces:
RelationTagParser,TagParser
-
Constructor Summary
ConstructorsConstructorDescriptionOSMFootNetworkTagParser(EnumEncodedValue<RouteNetwork> footRouteEnc, EncodedValue.InitializerConfig relConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRelationTags(IntsRef relFlags, ReaderRelation relation) Analyze the tags of a relation and create the routing flags for the second read step.voidhandleWayTags(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, IntsRef relationFlags)
-
Constructor Details
-
OSMFootNetworkTagParser
public OSMFootNetworkTagParser(EnumEncodedValue<RouteNetwork> footRouteEnc, EncodedValue.InitializerConfig relConfig)
-
-
Method Details
-
handleRelationTags
Description copied from interface:RelationTagParserAnalyze 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:
handleRelationTagsin interfaceRelationTagParser
-
handleWayTags
public void handleWayTags(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay way, IntsRef relationFlags) - Specified by:
handleWayTagsin interfaceTagParser
-