public class OSMReaderConfig extends Object
Constructor and Description |
---|
OSMReaderConfig() |
Modifier and Type | Method and Description |
---|---|
double |
getElevationMaxWayPointDistance() |
double |
getLongEdgeSamplingDistance() |
double |
getMaxWayPointDistance() |
int |
getWorkerThreads() |
boolean |
isSmoothElevation() |
OSMReaderConfig |
setElevationMaxWayPointDistance(double elevationMaxWayPointDistance)
Sets the max elevation discrepancy between way points and the simplified polyline in meters
|
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 (Douglas-Peucker).
|
OSMReaderConfig |
setSmoothElevation(boolean smoothElevation)
Enables/disables elevation smoothing
|
OSMReaderConfig |
setWorkerThreads(int workerThreads)
Sets the number of threads used for the OSM import
|
public double getMaxWayPointDistance()
public OSMReaderConfig setMaxWayPointDistance(double maxWayPointDistance)
public double getElevationMaxWayPointDistance()
public OSMReaderConfig setElevationMaxWayPointDistance(double elevationMaxWayPointDistance)
public boolean isSmoothElevation()
public OSMReaderConfig setSmoothElevation(boolean smoothElevation)
public double getLongEdgeSamplingDistance()
public OSMReaderConfig setLongEdgeSamplingDistance(double longEdgeSamplingDistance)
public int getWorkerThreads()
public OSMReaderConfig setWorkerThreads(int workerThreads)
Copyright © 2012–2022. All rights reserved.