public abstract class CoverageData<TImage extends CoverageDataImage> extends CoverageDataCore<TImage>
http://docs.opengeospatial.org/is/17-066r1/17-066r1.html
| Modifier and Type | Field and Description |
|---|---|
protected TileDao |
tileDao
Tile DAO
|
algorithm, coverageBoundingBox, coverageProjection, encoding, EXTENSION_AUTHOR, EXTENSION_DEFINITION, EXTENSION_NAME, EXTENSION_NAME_NO_AUTHOR, GRIDDED_COVERAGE, height, requestProjection, sameProjection, width, zoomIn, zoomInBeforeOut, zoomOutextensionsDao, geoPackage| Constructor and Description |
|---|
CoverageData(GeoPackage geoPackage,
TileDao tileDao,
Integer width,
Integer height,
Projection requestProjection)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract TImage |
createImage(TileRow tileRow)
Create a coverage data image
|
static CoverageData<?> |
createTileTable(GeoPackage geoPackage,
TileTableMetadata metadata,
GriddedCoverageDataType dataType)
Create the coverage data tile table with metadata and extension
|
abstract byte[] |
drawTileData(GriddedTile griddedTile,
Double[][] values)
Draw a coverage data image tile and format as TIFF bytes from the double
array of coverage data values formatted as Double[row][width]
|
abstract byte[] |
drawTileData(GriddedTile griddedTile,
Double[] values,
int tileWidth,
int tileHeight)
Draw a coverage data image tile and format as TIFF bytes from the flat array
of coverage data values of length tileWidth * tileHeight where each coverage data value is
at: (y * tileWidth) + x
|
static CoverageData<?> |
getCoverageData(GeoPackage geoPackage,
TileDao tileDao)
Get a Tiled Gridded Coverage Data, use the coverage data pixel tile size
as the request size width and height
|
static CoverageData<?> |
getCoverageData(GeoPackage geoPackage,
TileDao tileDao,
Integer width,
Integer height,
Projection requestProjection)
Get a Tiled Gridded Coverage Data
|
static CoverageData<?> |
getCoverageData(GeoPackage geoPackage,
TileDao tileDao,
Projection requestProjection)
Get a Tiled Gridded Coverage Data, use the coverage data pixel tile size
as the request size width and height, request as the specified projection
|
TileDao |
getTileDao()
Get the tile dao
|
abstract Double |
getValue(GriddedTile griddedTile,
byte[] imageBytes,
int x,
int y)
Get the coverage data value
|
abstract double |
getValue(GriddedTile griddedTile,
TileRow tileRow,
int x,
int y)
Get the coverage data value of the pixel in the tile row image
|
double |
getValue(TileRow tileRow,
int x,
int y)
Get the coverage data value of the pixel in the tile row image
|
CoverageDataResults |
getValues(CoverageDataRequest request,
Integer width,
Integer height) |
abstract Double[] |
getValues(GriddedTile griddedTile,
byte[] imageBytes)
Get the coverage data values
|
CoverageDataResults |
getValuesUnbounded(CoverageDataRequest request) |
createGriddedCoverageTable, createGriddedTileTable, createTileTable, formatUnboundedResults, getAlgorithm, getBicubicInterpolationValue, getBicubicInterpolationValue, getBicubicInterpolationValue, getBilinearInterpolationValue, getBilinearInterpolationValue, getBilinearInterpolationValue, getBilinearInterpolationValue, getCoverageBoundingBox, getCoverageProjection, getCubicInterpolationValue, getCubicInterpolationValue, getDataNull, getEncoding, getFloatPixelValue, getGriddedCoverage, getGriddedCoverageDao, getGriddedCoverageDao, getGriddedCoverageDao, getGriddedTile, getGriddedTile, getGriddedTileDao, getGriddedTileDao, getGriddedTileDao, getHeight, getNearestNeighbors, getNearestNeighborValue, getOrCreate, getPixelValue, getPixelValue, getPixelValue, getPixelValue, getRequestProjection, getTables, getTileMatrixSet, getUnsignedPixelValue, getUnsignedPixelValue, getUnsignedPixelValue, getUnsignedPixelValue, getUnsignedPixelValues, getValue, getValue, getValue, getValue, getValue, getValues, getValues, getValues, getValues, getValues, getValues, getValuesUnbounded, getWidth, getXSource, getXSourceMinAndMax, getYSource, getYSourceMinAndMax, has, isDataNull, isSameProjection, isZoomIn, isZoomInBeforeOut, isZoomOut, padBoundingBox, queryGriddedCoverage, reprojectCoverageData, setAlgorithm, setEncoding, setHeight, setWidth, setZoomIn, setZoomInBeforeOut, setZoomOutcreateDao, get, getExtensions, getExtensions, getExtensionsDao, getGeoPackage, getOrCreate, has, has, has, verifyWritableprotected final TileDao tileDao
public CoverageData(GeoPackage geoPackage, TileDao tileDao, Integer width, Integer height, Projection requestProjection)
geoPackage - GeoPackagetileDao - tile daowidth - coverage data response widthheight - coverage data response heightrequestProjection - request projectionpublic static CoverageData<?> getCoverageData(GeoPackage geoPackage, TileDao tileDao, Integer width, Integer height, Projection requestProjection)
geoPackage - GeoPackagetileDao - tile daowidth - coverage data response widthheight - coverage data response heightrequestProjection - request projectionpublic static CoverageData<?> getCoverageData(GeoPackage geoPackage, TileDao tileDao)
geoPackage - GeoPackagetileDao - tile daopublic static CoverageData<?> getCoverageData(GeoPackage geoPackage, TileDao tileDao, Projection requestProjection)
geoPackage - GeoPackagetileDao - tile daorequestProjection - request projectionpublic static CoverageData<?> createTileTable(GeoPackage geoPackage, TileTableMetadata metadata, GriddedCoverageDataType dataType)
geoPackage - GeoPackagemetadata - tile table metadatadataType - gridded coverage data typepublic abstract TImage createImage(TileRow tileRow)
tileRow - tile rowpublic abstract double getValue(GriddedTile griddedTile, TileRow tileRow, int x, int y)
griddedTile - gridded tiletileRow - tile rowx - x coordinatey - y coordinatepublic abstract Double getValue(GriddedTile griddedTile, byte[] imageBytes, int x, int y)
griddedTile - gridded tileimageBytes - image bytesx - x coordinatey - y coordinatepublic abstract Double[] getValues(GriddedTile griddedTile, byte[] imageBytes)
griddedTile - gridded tileimageBytes - image bytespublic abstract byte[] drawTileData(GriddedTile griddedTile, Double[] values, int tileWidth, int tileHeight)
griddedTile - gridded tilevalues - coverage data values of length tileWidth * tileHeighttileWidth - tile widthtileHeight - tile heightpublic abstract byte[] drawTileData(GriddedTile griddedTile, Double[][] values)
griddedTile - gridded tilevalues - coverage data values as [row][width]public TileDao getTileDao()
public CoverageDataResults getValues(CoverageDataRequest request, Integer width, Integer height)
getValues in class CoverageDataCore<TImage extends CoverageDataImage>public CoverageDataResults getValuesUnbounded(CoverageDataRequest request)
getValuesUnbounded in class CoverageDataCore<TImage extends CoverageDataImage>public double getValue(TileRow tileRow, int x, int y)
tileRow - tile rowx - x coordinatey - y coordinate