| Package | Description |
|---|---|
| com.graphhopper | |
| com.graphhopper.reader.osm | |
| com.graphhopper.routing |
| Modifier and Type | Method and Description |
|---|---|
OSMReaderConfig |
GraphHopper.getReaderConfig() |
| Constructor and Description |
|---|
OSMReader(BaseGraph baseGraph,
EncodingManager encodingManager,
OSMParsers osmParsers,
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.setElevationSmoothing(String smoothElevation)
Enables/disables elevation smoothing
|
OSMReaderConfig |
OSMReaderConfig.setElevationSmoothingRamerMax(int max) |
OSMReaderConfig |
OSMReaderConfig.setIgnoredHighways(List<String> ignoredHighways)
Sets the values of the highway tag that shall be ignored when we read the OSM file.
|
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 (Ramer-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.setWorkerThreads(int workerThreads)
Sets the number of threads used for the OSM import
|
Copyright © 2012–2023. All rights reserved.