gov.nasa.worldwind.terrain
Class LocalRasterServerElevationModel
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.terrain.AbstractElevationModel
gov.nasa.worldwind.terrain.BasicElevationModel
gov.nasa.worldwind.terrain.LocalRasterServerElevationModel
- All Implemented Interfaces:
- AVList, Disposable, MessageListener, ElevationModel, NamedObject, Restorable, BulkRetrievable, WWObject, PropertyChangeListener, EventListener
public class LocalRasterServerElevationModel
- extends BasicElevationModel
Implements an ElevationModel
for a local dataset accessed via a local raster server
(RasterServer
).
Fields inherited from class gov.nasa.worldwind.terrain.BasicElevationModel |
absentResources, DEFAULT_MAX_RESOURCE_ATTEMPTS, DEFAULT_MIN_RESOURCE_CHECK_INTERVAL, detailHint, elevationDataByteOrder, elevationDataType, extremes, extremesLevel, extremesLookupCache, fileLock, levels, levelZeroTiles, maxElevation, memoryCache, minElevation, RESOURCE_ID_OGC_CAPABILITIES, resourceRetrievalService |
Methods inherited from class gov.nasa.worldwind.terrain.BasicElevationModel |
addTileToCache, areElevationsInMemory, checkElevationExpiration, checkElevationExpiration, computeExtremeElevations, contains, convertImageToElevations, createBasicElevationModelConfigDocument, createBasicElevationModelConfigElements, createConfigurationDocument, createMemoryCache, createResourceRetrievalTask, createTile, determineExtremes, dispose, doGetRestorableState, doRestoreState, doRestoreStateForObject, downloadElevations, downloadElevations, doWriteConfigurationParams, generateExtremeElevations, getBasicElevationModelConfigParams, getBestResolution, getConfigurationParams, getDetailHint, getElevationDataByteOrder, getElevationDataType, getElevations, getElevations, getElevations, getEstimatedMissingDataSize, getEstimatedMissingDataSize, getExtremeElevations, getExtremeElevations, getExtremes, getExtremesLevel, getExtremesLookupCache, getLevels, getLevelZeroTiles, getMaxElevation, getMemoryCache, getMinElevation, getRestorableState, getRestorableStateForAVPair, getTargetLevel, getTileFromMemory, getUnmappedElevation, getUnmappedElevations, getValue, initFromOGCCapabilitiesResource, intersects, isFileExpired, isRetrieveResources, loadElevations, loadExtremeElevations, lookupElevation, makeLocal, makeLocal, needsConfigurationFile, propertyChange, readElevations, requestTile, restorableStateToParams, restoreState, restoreStateForParams, retrieveElevations, retrieveLocalElevations, retrieveRemoteElevations, retrieveResources, setByteOrder, setDetailHint, setElevationDataType, setExpiryTime, setFallbacks, setValue, startResourceRetrieval, stopResourceRetrieval, writeConfigurationFile, writeConfigurationParams |
Methods inherited from class gov.nasa.worldwind.terrain.AbstractElevationModel |
composeElevations, createElevationModelConfigElements, getDataFileStore, getElevation, getElevationModelConfigParams, getExpiryTime, getMissingDataReplacement, getMissingDataSignal, getName, isElevationModelConfigDocument, isNetworkRetrievalEnabled, isTransparentValue, setDataFileStore, setMissingDataReplacement, setMissingDataSignal, setName, setNetworkRetrievalEnabled, toString |
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getStringValue, getStringValue, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues |
Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues |
LocalRasterServerElevationModel
public LocalRasterServerElevationModel(AVList params)
- Constructs an elevation model from a list of parameters describing the elevation model.
Parameter values for DATASET_NAME and DATA_CACHE_NAME are required.
TODO: Enumerate the other required and optional parameters.
- Parameters:
params
- the parameters describing the dataset.
- Throws:
IllegalArgumentException
- if the parameter list is null.
IllegalStateException
- if the required parameters are missing from the parameter list.
LocalRasterServerElevationModel
public LocalRasterServerElevationModel(Document dom,
AVList params)
- Constructs an elevation model from an XML document description.
Either the specified XML document or parameter list must contain values for DATASET_NAME and DATA_CACHE_NAME.
TODO: Enumerate the other required and optional parameters.
- Parameters:
dom
- the XML document describing the dataset.params
- a list of parameters that each override a parameter of the same name in the XML document, or that
augment the definition there.
- Throws:
IllegalArgumentException
- if the XML document reference is null.
IllegalStateException
- if the required parameters are missing from the XML document or the parameter
list.
LocalRasterServerElevationModel
public LocalRasterServerElevationModel(Element domElement,
AVList params)
- Constructs an elevation model from an XML document
Element
.
Either the specified XML element or parameter list must contain values for DATASET_NAME and DATA_CACHE_NAME.
TODO: Enumerate the other required and optional parameters.
- Parameters:
domElement
- the XML document describing the dataset.params
- a list of parameters that each override a parameter of the same name in the XML document, or
that augment the definition there.
- Throws:
IllegalArgumentException
- if the XML document reference is null.
IllegalStateException
- if the required parameters are missing from the XML element or the parameter
list.
LocalRasterServerElevationModel
public LocalRasterServerElevationModel(String restorableStateInXml)
- Constructs an elevation model from restorable state obtained by a call to
BasicElevationModel.getRestorableState()
on
another instance of this class.
- Parameters:
restorableStateInXml
- a string containing the restorable state.
- Throws:
IllegalArgumentException
- if the restorable state is null or cannot be interpreted.
IllegalStateException
- if the restorable state does not contain values for DATASET_NAME and
DATA_CACHE_NAME.
createRasterServer
protected void createRasterServer(AVList params)