public interface ElevationProvider
Modifier and Type | Field and Description |
---|---|
static ElevationProvider |
NOOP |
Modifier and Type | Method and Description |
---|---|
double |
getEle(double lat,
double lon) |
void |
release()
Release resources.
|
void |
setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary)
Creating temporary files can take a long time as we need to unpack them as well as to fill
our DataAccess object, so this option can be used to disable the default clear mechanism via
specifying 'false'.
|
ElevationProvider |
setBaseURL(String baseURL)
Specifies the service URL where to download the elevation data.
|
ElevationProvider |
setDAType(DAType daType)
Set to true if you have a small area and need high speed access.
|
void |
setInterpolate(boolean interpolate)
Configuration option to use bilinear interpolation to find the elevation at a point from the
surrounding elevation points.
|
static final ElevationProvider NOOP
double getEle(double lat, double lon)
ElevationProvider setBaseURL(String baseURL)
ElevationProvider setDAType(DAType daType)
void setInterpolate(boolean interpolate)
void release()
void setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary)
Copyright © 2012–2020. All rights reserved.