public abstract class AbstractElevationProvider extends Object implements ElevationProvider
NOOP
Modifier | Constructor and Description |
---|---|
protected |
AbstractElevationProvider(String cacheDirString) |
Modifier and Type | Method and Description |
---|---|
protected File |
getCacheDir() |
protected Directory |
getDirectory() |
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 |
setDownloader(Downloader downloader) |
void |
setInterpolate(boolean interpolate)
Configuration option to use bilinear interpolation to find the elevation at a point from the
surrounding elevation points.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEle, release
protected AbstractElevationProvider(String cacheDirString)
public void setInterpolate(boolean interpolate)
ElevationProvider
setInterpolate
in interface ElevationProvider
public void setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary)
ElevationProvider
setAutoRemoveTemporaryFiles
in interface ElevationProvider
public void setDownloader(Downloader downloader)
protected File getCacheDir()
public ElevationProvider setBaseURL(String baseUrl)
ElevationProvider
setBaseURL
in interface ElevationProvider
public ElevationProvider setDAType(DAType daType)
ElevationProvider
setDAType
in interface ElevationProvider
protected Directory getDirectory()
Copyright © 2012–2020. All rights reserved.