public class TiledElevationProducer extends TiledRasterProducer
AbstractDataStoreProducer.SourceInfo
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_IMAGE_FORMAT |
protected static double |
DEFAULT_MISSING_DATA_SIGNAL |
protected double[] |
extremes |
protected static DataRasterReader[] |
readers |
productionParams
Constructor and Description |
---|
TiledElevationProducer() |
TiledElevationProducer(MemoryCache cache,
int writeThreadPoolSize) |
Modifier and Type | Method and Description |
---|---|
protected LatLon |
computeRasterPixelSize(DataRaster raster) |
protected LatLon |
computeRasterTileDelta(int tileWidth,
int tileHeight,
Iterable<? extends DataRaster> rasters) |
protected Document |
createConfigDoc(AVList params)
Returns an ElevationModel configuration document which describes the tiled elevation data produced by this
TiledElevationProducer.
|
protected DataRaster |
createDataRaster(int width,
int height,
Sector sector,
AVList params) |
protected void |
doStartProduction(AVList parameters)
Overridden to initialize this producer's extreme elevations prior to creating and installing elevation tiles.
|
protected DataRasterReader[] |
getDataRasterReaders() |
protected DataRasterWriter[] |
getDataRasterWriters() |
String |
getDataSourceDescription() |
protected void |
initProductionParameters(AVList params) |
protected void |
installTileRasterLater(LevelSet levelSet,
Tile tile,
DataRaster tileRaster,
AVList params)
Overridden to compute the extreme elevations prior to installing a tile in the filesystem.
|
protected void |
updateExtremeElevations(DataRaster raster) |
protected String |
validateDataSource(Object source,
AVList params) |
protected String |
validateDataSourceParams(AVList params,
String name) |
appendProperties, appendSource, assembleDataRasters, assembleDataSource, calculateTileCount, computeBoundingSector, computeDesiredTileDelta, computeIntegralLevelZeroTileDelta, computeNumLevels, computeSmallestPixelSize, createDefaultCache, createDefaultTileWriteService, createSubTiles, createTileRaster, drawDataSources, drawDescendants, extractMaxLevelLimit, findWriterFor, getCache, getConfigFileInstallLocation, getDataRasters, getReaderFactory, getTileWriteSemaphore, getTileWriteService, initLevelSetParameters, installConfigFile, installLevelSet, installLocationFor, installLocationForTile, installRasterServerConfigFile, installTileRaster, installTileRasterComplete, isDataSetLarge, isFinalLevel, isWithinLatLonLimits, removeProductionState, startProgress, updateProgress, validateProductionParameters, waitForInstallTileTasks
acceptsDataSource, containsDataSource, getDataSourceList, getDataSources, getProductionParameters, getProductionResults, getProductionResultsList, getStoreParameters, isStopped, offerAllDataSources, offerDataSource, removeAllDataSources, removeDataSource, setStoreParameters, startProduction, stopProduction
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
propertyChange
onMessage
protected static final String DEFAULT_IMAGE_FORMAT
protected static final double DEFAULT_MISSING_DATA_SIGNAL
protected double[] extremes
protected static DataRasterReader[] readers
public TiledElevationProducer()
public TiledElevationProducer(MemoryCache cache, int writeThreadPoolSize)
protected LatLon computeRasterPixelSize(DataRaster raster)
computeRasterPixelSize
in class TiledRasterProducer
protected LatLon computeRasterTileDelta(int tileWidth, int tileHeight, Iterable<? extends DataRaster> rasters)
computeRasterTileDelta
in class TiledRasterProducer
protected Document createConfigDoc(AVList params)
createConfigDoc
in class TiledRasterProducer
params
- the parameters which describe an ElevationModel configuration document's contents.protected DataRaster createDataRaster(int width, int height, Sector sector, AVList params)
createDataRaster
in class TiledRasterProducer
protected void doStartProduction(AVList parameters) throws Exception
doStartProduction
in class TiledRasterProducer
parameters
- the installation parameters.Exception
- if production fails for any reason.protected DataRasterReader[] getDataRasterReaders()
getDataRasterReaders
in class TiledRasterProducer
protected DataRasterWriter[] getDataRasterWriters()
getDataRasterWriters
in class TiledRasterProducer
public String getDataSourceDescription()
getDataSourceDescription
in interface DataStoreProducer
getDataSourceDescription
in class TiledRasterProducer
protected void initProductionParameters(AVList params)
initProductionParameters
in class TiledRasterProducer
protected void installTileRasterLater(LevelSet levelSet, Tile tile, DataRaster tileRaster, AVList params)
installTileRasterLater
in class TiledRasterProducer
tile
- the tile to install to the filesystem.tileRaster
- the raster containing the raster's data content.params
- the installation parameters.protected void updateExtremeElevations(DataRaster raster)
protected String validateDataSource(Object source, AVList params)
validateDataSource
in class AbstractDataStoreProducer