| Package | Description |
|---|---|
| com.graphhopper | |
| com.graphhopper.reader.osm | |
| com.graphhopper.routing |
| Modifier and Type | Method and Description |
|---|---|
OSMReaderConfig |
GraphHopper.getReaderConfig() |
| Constructor and Description |
|---|
OSMReader(GraphHopperStorage ghStorage,
OSMReaderConfig config) |
| Modifier and Type | Method and Description |
|---|---|
OSMReaderConfig |
OSMReaderConfig.setElevationMaxWayPointDistance(double elevationMaxWayPointDistance)
Sets the max elevation discrepancy between way points and the simplified polyline in meters
|
OSMReaderConfig |
OSMReaderConfig.setLongEdgeSamplingDistance(double longEdgeSamplingDistance)
Sets the distance between elevation samples on long edges
|
OSMReaderConfig |
OSMReaderConfig.setMaxWayPointDistance(double maxWayPointDistance)
This parameter affects the routine used to simplify the edge geometries (Douglas-Peucker).
|
OSMReaderConfig |
OSMReaderConfig.setParseWayNames(boolean parseWayNames)
Enables/disables the parsing of the name and ref tags to set the name of the graph edges
|
OSMReaderConfig |
OSMReaderConfig.setPreferredLanguage(String preferredLanguage)
Sets the language used to parse way names.
|
OSMReaderConfig |
OSMReaderConfig.setSmoothElevation(boolean smoothElevation)
Enables/disables elevation smoothing
|
OSMReaderConfig |
OSMReaderConfig.setWorkerThreads(int workerThreads)
Sets the number of threads used for the OSM import
|
Copyright © 2012–2022. All rights reserved.