public abstract class TileBasedElevationProvider extends Object implements ElevationProvider
NOOP| Modifier | Constructor and Description |
|---|---|
protected |
TileBasedElevationProvider(String cacheDirString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInterpolate()
Returns true if bilinear interpolation is enabled.
|
protected File |
getCacheDir() |
protected Directory |
getDirectory() |
TileBasedElevationProvider |
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'.
|
TileBasedElevationProvider |
setBaseURL(String baseUrl)
Specifies the service URL where to download the elevation data.
|
TileBasedElevationProvider |
setDAType(DAType daType)
Set to true if you have a small area and need high speed access.
|
TileBasedElevationProvider |
setDownloader(Downloader downloader) |
TileBasedElevationProvider |
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, getEle, releaseprotected TileBasedElevationProvider(String cacheDirString)
public TileBasedElevationProvider setInterpolate(boolean interpolate)
public boolean canInterpolate()
ElevationProvidercanInterpolate in interface ElevationProviderpublic TileBasedElevationProvider setBaseURL(String baseUrl)
public TileBasedElevationProvider setDAType(DAType daType)
public TileBasedElevationProvider setAutoRemoveTemporaryFiles(boolean autoRemoveTemporary)
public TileBasedElevationProvider setDownloader(Downloader downloader)
protected File getCacheDir()
protected Directory getDirectory()
Copyright © 2012–2022. All rights reserved.