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, waitgetEle, releaseprotected AbstractElevationProvider(String cacheDirString)
public void setInterpolate(boolean interpolate)
ElevationProvidersetInterpolate in interface ElevationProviderpublic void setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary)
ElevationProvidersetAutoRemoveTemporaryFiles in interface ElevationProviderpublic void setDownloader(Downloader downloader)
protected File getCacheDir()
public ElevationProvider setBaseURL(String baseUrl)
ElevationProvidersetBaseURL in interface ElevationProviderpublic ElevationProvider setDAType(DAType daType)
ElevationProvidersetDAType in interface ElevationProviderprotected Directory getDirectory()
Copyright © 2012–2020. All rights reserved.