public class OSMReaderConfig extends Object
Constructor and Description |
---|
OSMReaderConfig() |
Modifier and Type | Method and Description |
---|---|
double |
getElevationMaxWayPointDistance() |
String |
getElevationSmoothing() |
int |
getElevationSmoothingRamerMax() |
List<String> |
getIgnoredHighways() |
double |
getLongEdgeSamplingDistance() |
double |
getMaxWayPointDistance() |
String |
getPreferredLanguage() |
double |
getSmoothElevationAverageWindowSize() |
int |
getWorkerThreads() |
boolean |
isParseWayNames() |
OSMReaderConfig |
setElevationMaxWayPointDistance(double elevationMaxWayPointDistance)
Sets the max elevation discrepancy between way points and the simplified polyline in meters
|
OSMReaderConfig |
setElevationSmoothing(String smoothElevation)
Enables/disables elevation smoothing
|
OSMReaderConfig |
setElevationSmoothingRamerMax(int max) |
OSMReaderConfig |
setIgnoredHighways(List<String> ignoredHighways)
Sets the values of the highway tag that shall be ignored when we read the OSM file.
|
OSMReaderConfig |
setLongEdgeSamplingDistance(double longEdgeSamplingDistance)
Sets the distance between elevation samples on long edges
|
OSMReaderConfig |
setMaxWayPointDistance(double maxWayPointDistance)
This parameter affects the routine used to simplify the edge geometries (Ramer-Douglas-Peucker).
|
OSMReaderConfig |
setParseWayNames(boolean parseWayNames)
Enables/disables the parsing of the name and ref tags to set the name of the graph edges
|
OSMReaderConfig |
setPreferredLanguage(String preferredLanguage)
Sets the language used to parse way names.
|
void |
setSmoothElevationAverageWindowSize(double smoothElevationAverageWindowSize) |
OSMReaderConfig |
setWorkerThreads(int workerThreads)
Sets the number of threads used for the OSM import
|
public OSMReaderConfig setIgnoredHighways(List<String> ignoredHighways)
public String getPreferredLanguage()
public OSMReaderConfig setPreferredLanguage(String preferredLanguage)
public boolean isParseWayNames()
public OSMReaderConfig setParseWayNames(boolean parseWayNames)
public double getMaxWayPointDistance()
public OSMReaderConfig setMaxWayPointDistance(double maxWayPointDistance)
public double getElevationMaxWayPointDistance()
public OSMReaderConfig setElevationMaxWayPointDistance(double elevationMaxWayPointDistance)
public String getElevationSmoothing()
public OSMReaderConfig setElevationSmoothing(String smoothElevation)
public int getElevationSmoothingRamerMax()
public OSMReaderConfig setElevationSmoothingRamerMax(int max)
public double getSmoothElevationAverageWindowSize()
public void setSmoothElevationAverageWindowSize(double smoothElevationAverageWindowSize)
public double getLongEdgeSamplingDistance()
public OSMReaderConfig setLongEdgeSamplingDistance(double longEdgeSamplingDistance)
public int getWorkerThreads()
public OSMReaderConfig setWorkerThreads(int workerThreads)
Copyright © 2012–2023. All rights reserved.