Class OSMMtbRatingParser
java.lang.Object
com.graphhopper.routing.util.parsers.OSMMtbRatingParser
- All Implemented Interfaces:
TagParser
Parses the mountain biking difficulty.
A mapping mtb:scale=0 corresponds to 1 and mtb:scale=1 to 2 until 7.
- See Also:
-
- Key:mtb:scale for details on OSM mountain biking difficulties.
- Single Trail Scale
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleWayTags
(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay readerWay, IntsRef relationFlags)
-
Constructor Details
-
OSMMtbRatingParser
-
-
Method Details
-
handleWayTags
public void handleWayTags(int edgeId, EdgeIntAccess edgeIntAccess, ReaderWay readerWay, IntsRef relationFlags) - Specified by:
handleWayTags
in interfaceTagParser
-