public class WCSElevationModel extends BasicElevationModel
Modifier and Type | Class and Description |
---|---|
protected static class |
WCSElevationModel.URLBuilder |
BasicElevationModel.DownloadPostProcessor, BasicElevationModel.Elevations, BasicElevationModel.ElevationTile, BasicElevationModel.RequestTask
detailHint, elevationDataByteOrder, elevationDataType, extremes, extremesCachingEnabled, extremesLevel, extremesLookupCache, fileLock, levels, levelZeroTiles, maxElevation, memoryCache, minElevation, RESOURCE_ID_OGC_CAPABILITIES
dataFileStore, enabled, expiryTime, missingDataFlag, missingDataValue, networkRetrievalEnabled
Constructor and Description |
---|
WCSElevationModel(Element domElement,
AVList params) |
WCSElevationModel(String restorableStateInXml)
Create a new elevation model from a serialized restorable state string.
|
WCSElevationModel(WCS100Capabilities caps,
AVList params) |
addTileToCache, areElevationsInMemory, checkElevationExpiration, checkElevationExpiration, computeExtremeElevations, contains, convertImageToElevations, createBasicElevationModelConfigDocument, createBasicElevationModelConfigElements, 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, 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
createElevationModelConfigElements, dispose, getBestResolutions, getDataFileStore, getElevation, getElevationModelConfigParams, getElevations, getExpiryTime, getMissingDataReplacement, getMissingDataSignal, getName, getUnmappedElevations, isElevationModelConfigDocument, isEnabled, isNetworkRetrievalEnabled, isTransparentValue, setDataFileStore, setEnabled, setMissingDataReplacement, setMissingDataSignal, setName, setNetworkRetrievalEnabled, toString
onMessage, propertyChange
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValues
propertyChange
onMessage
public WCSElevationModel(String restorableStateInXml)
restorableStateInXml
- XML string in World Wind restorable state format.BasicElevationModel.getRestorableState()
public WCSElevationModel(WCS100Capabilities caps, AVList params)
public void composeElevations(Sector sector, List<? extends LatLon> latlons, int tileWidth, double[] buffer) throws Exception
ElevationModel
Sector
.composeElevations
in interface ElevationModel
composeElevations
in class AbstractElevationModel
sector
- the sector containing the locations.latlons
- the locations for which to return elevations.tileWidth
- the number of locations that comprise one row in the latlons
argument.buffer
- a buffer in which to put the elevations. The buffer must have at least as many elements as the
number of specified locations.Exception
- if the method fails. Different elevation models may fail for different reasons.IllegalArgumentException
- if either the sector, list of locations or buffer is null, if the buffer size is
not at least as large as the location list, or the tile width is greater than
the locations list length or less than 1.protected Document createConfigurationDocument(AVList params)
createConfigurationDocument
in class BasicElevationModel
params
- configuration parameters describing this WCS basic elevation model.protected static void determineNumLevels(WCS100DescribeCoverage coverage, AVList params)
protected void downloadElevations(WMSBasicElevationModel.ElevationCompositionTile tile) throws Exception
Exception
public void getRestorableStateForAVPair(String key, Object value, RestorableSupport rs, RestorableSupport.StateObject context)
getRestorableStateForAVPair
in class BasicElevationModel
public static AVList getWCSElevationModelConfigParams(WCS100Capabilities caps, WCS100DescribeCoverage coverage, AVList params)
protected static AVList wcsGetParamsFromCapsDoc(WCS100Capabilities caps, AVList params)
protected static AVList wcsGetParamsFromDocument(Element domElement, AVList params)
protected static void wcsRestoreStateForParams(RestorableSupport rs, RestorableSupport.StateObject context, AVList params)
protected static void wcsSetFallbacks(AVList params)