Class OSMMtbRatingParser
java.lang.Object
com.graphhopper.routing.util.parsers.OSMMtbRatingParser
- All Implemented Interfaces:
TagParser
Parses the mountain biking difficulty.
Note that the tag mtb:scale=0 corresponds to mtb_rating=1 because mtb_rating=0 is the default,
i.e. mtb_rating goes until 7.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleWayTags(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:
handleWayTagsin interfaceTagParser
-