Package oracle.spatial.georaster
Class RasterInfo
- java.lang.Object
-
- oracle.spatial.georaster.RasterInfo
-
public class RasterInfo extends java.lang.ObjectRasterInfo is a Java class mapped to the XML element RasterInfo in the Oracle Spatial GeoRaster metadata.
-
-
Field Summary
Fields Modifier and Type Field Description static intBAND_DIMENSIONA integer indicating band dimension.static java.lang.StringBLOCKING_NONEA string indicating NONE blocking.static java.lang.StringBLOCKING_REGULARA string indicating REGULAR blocking.static java.lang.StringCELL_DEPTH_128BIT_COMPLEXA string indicating 128BIT_COMPLEX cell depth.static java.lang.StringCELL_DEPTH_16BIT_SA string indicating 16BIT_S cell depth.static java.lang.StringCELL_DEPTH_16BIT_UA string indicating 16BIT_U cell depth.static java.lang.StringCELL_DEPTH_1BITA string indicating 1BIT cell depth.static java.lang.StringCELL_DEPTH_2BITA string indicating 2BIT cell depth.static java.lang.StringCELL_DEPTH_32BIT_REALA string indicating 32BIT_REAL cell depth.static java.lang.StringCELL_DEPTH_32BIT_SA string indicating 32BIT_S cell depth.static java.lang.StringCELL_DEPTH_32BIT_UA string indicating 32BIT_U cell depth.static java.lang.StringCELL_DEPTH_4BITA string indicating 4BIT cell depth.static java.lang.StringCELL_DEPTH_64BIT_COMPLEXA string indicating 64BIT_COMPLEX cell depth.static java.lang.StringCELL_DEPTH_64BIT_REALA string indicating 64BIT_REAL cell depth.static java.lang.StringCELL_DEPTH_8BIT_SA string indicating 8BIT_S cell depth.static java.lang.StringCELL_DEPTH_8BIT_UA string indicating 8BIT_U cell depth.static java.lang.StringCELL_DIMENSION_BANDA string indicating BAND dimension.static java.lang.StringCELL_DIMENSION_COLUMNA string indicating COLUMN dimension.static java.lang.StringCELL_DIMENSION_ROWA string indicating ROW dimension.static java.lang.StringCELL_DIMENSION_TEMPORALA string indicating TEMPORAL dimension.static java.lang.StringCELL_DIMENSION_VERTICALA string indicating VERTICAL dimension.static java.lang.StringCELL_INTERLEVING_BILA string indicating BIL interleaving.static java.lang.StringCELL_INTERLEVING_BIPA string indicating BIP interleaving.static java.lang.StringCELL_INTERLEVING_BSQA string indicating BSQ interleaving.static java.lang.StringCELL_REPRESENTION_UNDEFINEDA string indicating UNDEFINED cell representation.static intCOLUMN_DIMENSIONA integer indicating column dimension.static java.lang.StringCOMPRESSION_DEFLATEA string indicating DEFLATE compression.static java.lang.StringCOMPRESSION_JP2_CA string indicating JP2-C compression, but not supported in the current version.static java.lang.StringCOMPRESSION_JP2_FA string indicating JP2-F compression, but not supported in the current version.static java.lang.StringCOMPRESSION_JPEG_BDeprecated.A string indicating JPEG-B compression.static java.lang.StringCOMPRESSION_JPEG_FA string indicating JPEG-F compression.static java.lang.StringCOMPRESSION_LT_JP2A string indicating LT-JP2 compression.static java.lang.StringCOMPRESSION_LT_MG2A string indicating LT-MG2 compression.static java.lang.StringCOMPRESSION_LT_MG3A string indicating LT-MG3 compression.static java.lang.StringCOMPRESSION_NONEA string indicating NONE compression.static java.lang.StringCOMPRESSION_RLEA string indicating RLE compression.static java.lang.StringPYRAMID_BIDIRECTIONA string indicating BIDIRECTION pyramid.static java.lang.StringPYRAMID_DECREASEA string indicating DECREASE pyramid.static java.lang.StringPYRAMID_INCREASEA string indicating INCREASE pyramid.static java.lang.StringPYRAMID_NONEA string indicating NONE pyramid.static java.lang.StringRESAMPLING_AVERAGE16A string indicating AVERAGE16 resampling.static java.lang.StringRESAMPLING_AVERAGE4A string indicating AVERAGE4 resampling.static java.lang.StringRESAMPLING_BILINEARA string indicating BILINEAR resampling.static java.lang.StringRESAMPLING_CUBICA string indicating CUBIC resampling.static java.lang.StringRESAMPLING_NNA string indicating NN resampling.static intROW_DIMENSIONA integer indicating row dimension.static intTEMPORAL_DIMENSIONA integer indicating temporal dimension.static intVERTICAL_DIMENSIONA integer indicating vertical dimension.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRasterInfo(JGeoRasterMeta geoRasterMeta)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBlockingType()Returns the blocking type.java.lang.LonggetBlockSize(int dimension)Returns the block size of the specified dimension.static intgetCellBits(java.lang.String cellDepth)java.lang.StringgetCellDepth()Returns the cell depth of the current GeoRaster object.intgetCellDepthBits()Returns the cell bits number of the current GeoRaster object.java.lang.StringgetCellRepresentation()Returns the cell representation of the current GeoRaster object.java.lang.IntegergetCompressionQuality()Returns the compression quality.java.lang.StringgetCompressionType()Returns the compression type.java.lang.LonggetDimensionSize(int dimension)Returns the dimension size of the specified dimension.java.lang.StringgetInterleaving()Returns the interleaving type.protected voidgetJSONString(java.lang.StringBuilder jsonString)Returns a JSON string represented by this GeoRaster Metadata subcomponent.protected java.lang.DoublegetNODATA()Returns the NODATA value of the current GeoRaster object.java.lang.LonggetPyramidMaxLevel()Returns the maximum pyramid level.java.lang.StringgetPyramidResampling()Returns the pyramid resampling.java.lang.StringgetPyramidType()Returns the pyramid type.java.lang.LonggetTotalBlockNumber(int dimension)Returns the total number of blocks of the specified dimension.java.lang.IntegergetTotalDimensions()Returns the total number of dimensions of the current GeoRaster object.java.lang.LonggetULTCoordinate(int dimension)Returns the ULT value of the specified dimension.protected voidinitialize()protected voidpopulateMetadata(org.w3c.dom.Node node)protected voidsetBlockingType(java.lang.String blocking)Sets the blocking type.protected voidsetBlocksSize(int dimension, java.lang.Long size)Sets the block size of the specified dimension.protected voidsetCellDepth(java.lang.String cellDepth)Sets the cell depth of the current GeoRaster object.protected voidsetCellRepresentation(java.lang.String cellRepresentation)Sets cell representation of the current GeoRaster object.voidsetCompressionQuality(java.lang.Integer quality)Sets the compression quality.voidsetCompressionType(java.lang.String type)Sets the compression type.voidsetDimensionSize(int dimension, java.lang.Long size)Sets the dimension size of the specified dimension.protected voidsetInterleaving(java.lang.String interleaving)Sets the interleaving type.protected voidsetNODATA(java.lang.Double NODATA)Sets the NODATA value of the current GeoRaster object.voidsetPyramidMaxLevel(java.lang.Long maxlevel)Sets the maximum pyramid level.protected voidsetPyramidResampling(java.lang.String pyramidResampling)Sets the pyramid resampling.voidsetPyramidType(java.lang.String pyramidType)Sets the pyramid type.protected voidsetTotalBlockNumber(int dimension, java.lang.Long blockNumber)Sets the total number of blocks of the specified dimension.protected voidsetTotalDimensions(java.lang.Integer totalDimensions)Sets the total number of dimensions of the current GeoRaster object.voidsetULTCoordinate(int dimension, java.lang.Long ULTCoordinate)Sets the ULT value of the specified dimension.protected java.lang.StringvalidateContent()
-
-
-
Field Detail
-
ROW_DIMENSION
public static final int ROW_DIMENSION
A integer indicating row dimension.- See Also:
- Constant Field Values
-
COLUMN_DIMENSION
public static final int COLUMN_DIMENSION
A integer indicating column dimension.- See Also:
- Constant Field Values
-
BAND_DIMENSION
public static final int BAND_DIMENSION
A integer indicating band dimension.- See Also:
- Constant Field Values
-
VERTICAL_DIMENSION
public static final int VERTICAL_DIMENSION
A integer indicating vertical dimension.- See Also:
- Constant Field Values
-
TEMPORAL_DIMENSION
public static final int TEMPORAL_DIMENSION
A integer indicating temporal dimension.- See Also:
- Constant Field Values
-
CELL_REPRESENTION_UNDEFINED
public static final java.lang.String CELL_REPRESENTION_UNDEFINED
A string indicating UNDEFINED cell representation.- See Also:
- Constant Field Values
-
CELL_DEPTH_1BIT
public static final java.lang.String CELL_DEPTH_1BIT
A string indicating 1BIT cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_2BIT
public static final java.lang.String CELL_DEPTH_2BIT
A string indicating 2BIT cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_4BIT
public static final java.lang.String CELL_DEPTH_4BIT
A string indicating 4BIT cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_8BIT_U
public static final java.lang.String CELL_DEPTH_8BIT_U
A string indicating 8BIT_U cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_8BIT_S
public static final java.lang.String CELL_DEPTH_8BIT_S
A string indicating 8BIT_S cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_16BIT_U
public static final java.lang.String CELL_DEPTH_16BIT_U
A string indicating 16BIT_U cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_16BIT_S
public static final java.lang.String CELL_DEPTH_16BIT_S
A string indicating 16BIT_S cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_32BIT_U
public static final java.lang.String CELL_DEPTH_32BIT_U
A string indicating 32BIT_U cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_32BIT_S
public static final java.lang.String CELL_DEPTH_32BIT_S
A string indicating 32BIT_S cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_32BIT_REAL
public static final java.lang.String CELL_DEPTH_32BIT_REAL
A string indicating 32BIT_REAL cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_64BIT_REAL
public static final java.lang.String CELL_DEPTH_64BIT_REAL
A string indicating 64BIT_REAL cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_64BIT_COMPLEX
public static final java.lang.String CELL_DEPTH_64BIT_COMPLEX
A string indicating 64BIT_COMPLEX cell depth.- See Also:
- Constant Field Values
-
CELL_DEPTH_128BIT_COMPLEX
public static final java.lang.String CELL_DEPTH_128BIT_COMPLEX
A string indicating 128BIT_COMPLEX cell depth.- See Also:
- Constant Field Values
-
CELL_DIMENSION_ROW
public static final java.lang.String CELL_DIMENSION_ROW
A string indicating ROW dimension.- See Also:
- Constant Field Values
-
CELL_DIMENSION_COLUMN
public static final java.lang.String CELL_DIMENSION_COLUMN
A string indicating COLUMN dimension.- See Also:
- Constant Field Values
-
CELL_DIMENSION_VERTICAL
public static final java.lang.String CELL_DIMENSION_VERTICAL
A string indicating VERTICAL dimension.- See Also:
- Constant Field Values
-
CELL_DIMENSION_BAND
public static final java.lang.String CELL_DIMENSION_BAND
A string indicating BAND dimension.- See Also:
- Constant Field Values
-
CELL_DIMENSION_TEMPORAL
public static final java.lang.String CELL_DIMENSION_TEMPORAL
A string indicating TEMPORAL dimension.- See Also:
- Constant Field Values
-
COMPRESSION_NONE
public static final java.lang.String COMPRESSION_NONE
A string indicating NONE compression.- See Also:
- Constant Field Values
-
COMPRESSION_RLE
public static final java.lang.String COMPRESSION_RLE
A string indicating RLE compression.- See Also:
- Constant Field Values
-
COMPRESSION_JPEG_B
public static final java.lang.String COMPRESSION_JPEG_B
Deprecated.A string indicating JPEG-B compression.- See Also:
- Constant Field Values
-
COMPRESSION_JPEG_F
public static final java.lang.String COMPRESSION_JPEG_F
A string indicating JPEG-F compression.- See Also:
- Constant Field Values
-
COMPRESSION_DEFLATE
public static final java.lang.String COMPRESSION_DEFLATE
A string indicating DEFLATE compression.- See Also:
- Constant Field Values
-
COMPRESSION_LT_MG2
public static final java.lang.String COMPRESSION_LT_MG2
A string indicating LT-MG2 compression.- See Also:
- Constant Field Values
-
COMPRESSION_LT_MG3
public static final java.lang.String COMPRESSION_LT_MG3
A string indicating LT-MG3 compression.- See Also:
- Constant Field Values
-
COMPRESSION_LT_JP2
public static final java.lang.String COMPRESSION_LT_JP2
A string indicating LT-JP2 compression.- See Also:
- Constant Field Values
-
COMPRESSION_JP2_C
public static final java.lang.String COMPRESSION_JP2_C
A string indicating JP2-C compression, but not supported in the current version.- See Also:
- Constant Field Values
-
COMPRESSION_JP2_F
public static final java.lang.String COMPRESSION_JP2_F
A string indicating JP2-F compression, but not supported in the current version.- See Also:
- Constant Field Values
-
BLOCKING_NONE
public static final java.lang.String BLOCKING_NONE
A string indicating NONE blocking.- See Also:
- Constant Field Values
-
BLOCKING_REGULAR
public static final java.lang.String BLOCKING_REGULAR
A string indicating REGULAR blocking.- See Also:
- Constant Field Values
-
CELL_INTERLEVING_BSQ
public static final java.lang.String CELL_INTERLEVING_BSQ
A string indicating BSQ interleaving.- See Also:
- Constant Field Values
-
CELL_INTERLEVING_BIL
public static final java.lang.String CELL_INTERLEVING_BIL
A string indicating BIL interleaving.- See Also:
- Constant Field Values
-
CELL_INTERLEVING_BIP
public static final java.lang.String CELL_INTERLEVING_BIP
A string indicating BIP interleaving.- See Also:
- Constant Field Values
-
PYRAMID_NONE
public static final java.lang.String PYRAMID_NONE
A string indicating NONE pyramid.- See Also:
- Constant Field Values
-
PYRAMID_INCREASE
public static final java.lang.String PYRAMID_INCREASE
A string indicating INCREASE pyramid.- See Also:
- Constant Field Values
-
PYRAMID_DECREASE
public static final java.lang.String PYRAMID_DECREASE
A string indicating DECREASE pyramid.- See Also:
- Constant Field Values
-
PYRAMID_BIDIRECTION
public static final java.lang.String PYRAMID_BIDIRECTION
A string indicating BIDIRECTION pyramid.- See Also:
- Constant Field Values
-
RESAMPLING_NN
public static final java.lang.String RESAMPLING_NN
A string indicating NN resampling.- See Also:
- Constant Field Values
-
RESAMPLING_BILINEAR
public static final java.lang.String RESAMPLING_BILINEAR
A string indicating BILINEAR resampling.- See Also:
- Constant Field Values
-
RESAMPLING_CUBIC
public static final java.lang.String RESAMPLING_CUBIC
A string indicating CUBIC resampling.- See Also:
- Constant Field Values
-
RESAMPLING_AVERAGE4
public static final java.lang.String RESAMPLING_AVERAGE4
A string indicating AVERAGE4 resampling.- See Also:
- Constant Field Values
-
RESAMPLING_AVERAGE16
public static final java.lang.String RESAMPLING_AVERAGE16
A string indicating AVERAGE16 resampling.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RasterInfo
protected RasterInfo(JGeoRasterMeta geoRasterMeta)
-
-
Method Detail
-
getCellRepresentation
public java.lang.String getCellRepresentation()
Returns the cell representation of the current GeoRaster object.- Returns:
- the cell representation of the current GeoRaster object.
-
setCellRepresentation
protected void setCellRepresentation(java.lang.String cellRepresentation)
Sets cell representation of the current GeoRaster object.- Parameters:
cellRepresentation- cell representation
-
getCellDepth
public java.lang.String getCellDepth()
Returns the cell depth of the current GeoRaster object.- Returns:
- the cell depth of the current GeoRaster object.
-
setCellDepth
protected void setCellDepth(java.lang.String cellDepth)
Sets the cell depth of the current GeoRaster object.- Parameters:
cellDepth- the cell depth
-
getCellDepthBits
public int getCellDepthBits()
Returns the cell bits number of the current GeoRaster object.- Returns:
- the cell bits number of the current GeoRaster object.
-
getNODATA
protected java.lang.Double getNODATA()
Returns the NODATA value of the current GeoRaster object.- Returns:
- the NODATA value of the current GeoRaster object.
-
setNODATA
protected void setNODATA(java.lang.Double NODATA)
Sets the NODATA value of the current GeoRaster object.- Parameters:
NODATA- the NODATA value
-
getTotalDimensions
public java.lang.Integer getTotalDimensions()
Returns the total number of dimensions of the current GeoRaster object.- Returns:
- the total number of dimensions of the current GeoRaster object.
-
setTotalDimensions
protected void setTotalDimensions(java.lang.Integer totalDimensions)
Sets the total number of dimensions of the current GeoRaster object.- Parameters:
totalDimensions- the total number of dimensions of the current GeoRaster object
-
getDimensionSize
public java.lang.Long getDimensionSize(int dimension)
Returns the dimension size of the specified dimension.- Parameters:
dimension- dimension number- Returns:
- dimension size of the specified dimension.
-
setDimensionSize
public void setDimensionSize(int dimension, java.lang.Long size)Sets the dimension size of the specified dimension.- Parameters:
dimension- dimension numbersize- dimension size of the specified dimension.
-
getULTCoordinate
public java.lang.Long getULTCoordinate(int dimension)
Returns the ULT value of the specified dimension.- Parameters:
dimension- dimension number- Returns:
- ult value of the specified dimension.
-
setULTCoordinate
public void setULTCoordinate(int dimension, java.lang.Long ULTCoordinate)Sets the ULT value of the specified dimension.- Parameters:
dimension- dimension numberULTCoordinate- ult value of the specified dimension.
-
getBlockingType
public java.lang.String getBlockingType()
Returns the blocking type.- Returns:
- blocking type.
-
setBlockingType
protected void setBlockingType(java.lang.String blocking)
Sets the blocking type.- Parameters:
blocking- blocking type
-
getTotalBlockNumber
public java.lang.Long getTotalBlockNumber(int dimension)
Returns the total number of blocks of the specified dimension.- Parameters:
dimension- dimension number- Returns:
- total number of blocks of the specified dimension.
-
setTotalBlockNumber
protected void setTotalBlockNumber(int dimension, java.lang.Long blockNumber)Sets the total number of blocks of the specified dimension.- Parameters:
dimension- dimension numberblockNumber- total number of blocks of the specified dimension.
-
getBlockSize
public java.lang.Long getBlockSize(int dimension)
Returns the block size of the specified dimension.- Parameters:
dimension- dimension number- Returns:
- block size of the specified dimension.
-
setBlocksSize
protected void setBlocksSize(int dimension, java.lang.Long size)Sets the block size of the specified dimension.- Parameters:
dimension- dimension numbersize- block size of the specified dimension.
-
getInterleaving
public java.lang.String getInterleaving()
Returns the interleaving type.- Returns:
- interleaving type.
-
setInterleaving
protected void setInterleaving(java.lang.String interleaving)
Sets the interleaving type.- Parameters:
interleaving- interleaving type
-
getPyramidType
public java.lang.String getPyramidType()
Returns the pyramid type.- Returns:
- pyramid type.
-
setPyramidType
public void setPyramidType(java.lang.String pyramidType)
Sets the pyramid type.- Parameters:
pyramidType- pyramid type
-
getPyramidResampling
public java.lang.String getPyramidResampling()
Returns the pyramid resampling.- Returns:
- pyramid resampling.
-
setPyramidResampling
protected void setPyramidResampling(java.lang.String pyramidResampling)
Sets the pyramid resampling.- Parameters:
pyramidResampling- pyramid resampling
-
getPyramidMaxLevel
public java.lang.Long getPyramidMaxLevel()
Returns the maximum pyramid level.- Returns:
- maximum pyramid level.
-
setPyramidMaxLevel
public void setPyramidMaxLevel(java.lang.Long maxlevel)
Sets the maximum pyramid level.- Parameters:
maxlevel- maximum pyramid level
-
getCompressionType
public java.lang.String getCompressionType()
Returns the compression type.- Returns:
- compression type.
-
setCompressionType
public void setCompressionType(java.lang.String type)
Sets the compression type.- Parameters:
type- compression type
-
getCompressionQuality
public java.lang.Integer getCompressionQuality()
Returns the compression quality.- Returns:
- compression quality.
-
setCompressionQuality
public void setCompressionQuality(java.lang.Integer quality)
Sets the compression quality.- Parameters:
quality- compression quality
-
initialize
protected void initialize()
-
validateContent
protected java.lang.String validateContent()
-
getJSONString
protected void getJSONString(java.lang.StringBuilder jsonString) throws GeoRasterExceptionReturns a JSON string represented by this GeoRaster Metadata subcomponent.- Throws:
GeoRasterException
-
populateMetadata
protected void populateMetadata(org.w3c.dom.Node node)
-
getCellBits
public static int getCellBits(java.lang.String cellDepth)
-
-