Package com.graphhopper.reader.osm
Interface WaySegmentParser.WayPreprocessor
- Enclosing class:
- WaySegmentParser
public static interface WaySegmentParser.WayPreprocessor
-
Method Summary
Modifier and TypeMethodDescriptionvoid
preprocessWay
(ReaderWay way, WaySegmentParser.CoordinateSupplier coordinateSupplier, WaySegmentParser.NodeTagSupplier nodeTagSupplier)
-
Method Details
-
preprocessWay
void preprocessWay(ReaderWay way, WaySegmentParser.CoordinateSupplier coordinateSupplier, WaySegmentParser.NodeTagSupplier nodeTagSupplier) - Parameters:
coordinateSupplier
- maps an OSM node ID (as it can be obtained by way.getNodes()) to the coordinates of this node. If elevation is disabled it will be NaN. Returns null if no such OSM node exists.
-