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.
|
void |
setCalcMean(boolean eleCalcMean)
Configuration option to include surrounding elevation points when fetching the elevation.
|
ElevationProvider |
setDAType(DAType daType)
Set to true if you have a small area and need high speed access.
|
void |
setDownloader(Downloader downloader) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEle, releaseprotected AbstractElevationProvider(String cacheDirString)
public void setCalcMean(boolean eleCalcMean)
ElevationProvidersetCalcMean 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–2018. All rights reserved.