Package 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
,Restorable
,BulkRetrievable
,WWObject
,java.beans.PropertyChangeListener
,java.util.EventListener
public class LocalRasterServerElevationModel extends BasicElevationModel
Implements anElevationModel
for a local dataset accessed via a local raster server (RasterServer
).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nasa.worldwind.terrain.BasicElevationModel
BasicElevationModel.DownloadPostProcessor, BasicElevationModel.Elevations, BasicElevationModel.ElevationTile, BasicElevationModel.RequestTask
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.terrain.BasicElevationModel
detailHint, elevationDataByteOrder, elevationDataType, extremes, extremesCachingEnabled, extremesLevel, extremesLookupCache, fileLock, levels, levelZeroTiles, maxElevation, memoryCache, minElevation, RESOURCE_ID_OGC_CAPABILITIES
-
Fields inherited from class gov.nasa.worldwind.terrain.AbstractElevationModel
dataFileStore, enabled, expiryTime, missingDataFlag, missingDataValue, networkRetrievalEnabled
-
-
Constructor Summary
Constructors Constructor Description LocalRasterServerElevationModel(AVList params)
Constructs an elevation model from a list of parameters describing the elevation model.LocalRasterServerElevationModel(java.lang.String restorableStateInXml)
Constructs an elevation model from restorable state obtained by a call toBasicElevationModel.getRestorableState()
on another instance of this class.LocalRasterServerElevationModel(org.w3c.dom.Document dom, AVList params)
Constructs an elevation model from an XML document description.LocalRasterServerElevationModel(org.w3c.dom.Element domElement, AVList params)
Constructs an elevation model from an XML documentElement
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createRasterServer(AVList params)
-
Methods inherited from class gov.nasa.worldwind.terrain.BasicElevationModel
addTileToCache, areElevationsInMemory, checkElevationExpiration, checkElevationExpiration, computeExtremeElevations, contains, convertImageToElevations, createBasicElevationModelConfigDocument, createBasicElevationModelConfigElements, createConfigurationDocument, createMemoryCache, createTile, determineExtremes, 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, getLocalDataAvailability, getMaxElevation, getMemoryCache, getMinElevation, getRestorableState, getRestorableStateForAVPair, getTargetLevel, getTileFromMemory, getUnmappedElevation, getUnmappedElevations, getUnmappedLocalSourceElevation, getValue, initFromOGCCapabilitiesResource, intersects, isExtremesCachingEnabled, isFileExpired, isRetrieveResources, isTileLocalOrAbsent, loadElevations, loadExtremeElevations, lookupElevation, makeBilElevations, makeLocal, makeLocal, makeTiffElevations, needsConfigurationFile, readElevations, requestTile, restorableStateToParams, restoreState, restoreStateForParams, retrieveElevations, retrieveLocalElevations, retrieveRemoteElevations, retrieveResources, setByteOrder, setDetailHint, setElevationDataType, setExpiryTime, setExtremesCachingEnabled, setFallbacks, setValue, startResourceRetrieval, writeConfigurationFile, writeConfigurationParams
-
Methods inherited from class gov.nasa.worldwind.terrain.AbstractElevationModel
composeElevations, createElevationModelConfigElements, dispose, getBestResolutions, getDataFileStore, getElevation, getElevationModelConfigParams, getElevations, getExpiryTime, getMissingDataReplacement, getMissingDataSignal, getName, getUnmappedElevations, isElevationModelConfigDocument, isEnabled, isNetworkRetrievalEnabled, isTransparentValue, setDataFileStore, setEnabled, setMissingDataReplacement, setMissingDataSignal, setName, setNetworkRetrievalEnabled, toString
-
Methods inherited from class gov.nasa.worldwind.WWObjectImpl
onMessage, propertyChange
-
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 class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gov.nasa.worldwind.avlist.AVList
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues
-
Methods inherited from interface gov.nasa.worldwind.retrieve.BulkRetrievable
getName
-
Methods inherited from interface gov.nasa.worldwind.event.MessageListener
onMessage
-
-
-
-
Constructor Detail
-
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:
java.lang.IllegalArgumentException
- if the parameter list is null.java.lang.IllegalStateException
- if the required parameters are missing from the parameter list.
-
LocalRasterServerElevationModel
public LocalRasterServerElevationModel(org.w3c.dom.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:
java.lang.IllegalArgumentException
- if the XML document reference is null.java.lang.IllegalStateException
- if the required parameters are missing from the XML document or the parameter list.
-
LocalRasterServerElevationModel
public LocalRasterServerElevationModel(org.w3c.dom.Element domElement, AVList params)
Constructs an elevation model from an XML documentElement
.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:
java.lang.IllegalArgumentException
- if the XML document reference is null.java.lang.IllegalStateException
- if the required parameters are missing from the XML element or the parameter list.
-
LocalRasterServerElevationModel
public LocalRasterServerElevationModel(java.lang.String restorableStateInXml)
Constructs an elevation model from restorable state obtained by a call toBasicElevationModel.getRestorableState()
on another instance of this class.- Parameters:
restorableStateInXml
- a string containing the restorable state.- Throws:
java.lang.IllegalArgumentException
- if the restorable state is null or cannot be interpreted.java.lang.IllegalStateException
- if the restorable state does not contain values for DATASET_NAME and DATA_CACHE_NAME.
-
-
Method Detail
-
createRasterServer
protected void createRasterServer(AVList params)
-
-