Class GriddedCoverage
- java.lang.Object
-
- mil.nga.geopackage.extension.coverage.GriddedCoverage
-
public class GriddedCoverage extends Object
Gridded Coverage object- Since:
- 1.2.1
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLUMN_DATA_NULL
dataNull columnstatic String
COLUMN_DATATYPE
datatype columnstatic String
COLUMN_FIELD_NAME
fieldName columnstatic String
COLUMN_GRID_CELL_ENCODING
gridCellEncoding columnstatic String
COLUMN_ID
id field namestatic String
COLUMN_OFFSET
offset columnstatic String
COLUMN_PRECISION
precision columnstatic String
COLUMN_QUANTITY_DEFINITION
quantityDefinition columnstatic String
COLUMN_SCALE
scale columnstatic String
COLUMN_TILE_MATRIX_SET_NAME
tileMatrixSetName columnstatic String
COLUMN_UOM
uom columnstatic String
TABLE_NAME
Table name
-
Constructor Summary
Constructors Constructor Description GriddedCoverage()
Default ConstructorGriddedCoverage(GriddedCoverage griddedCoverage)
Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
getDataNull()
Get the value that indicates NULLGriddedCoverageDataType
getDataType()
Get the data typeString
getFieldName()
Get the field nameString
getGridCellEncoding()
Get the grid cell encodingGriddedCoverageEncodingType
getGridCellEncodingType()
Get the grid cell encoding typelong
getId()
Get the iddouble
getOffset()
Get the offsetdouble
getPrecision()
Get the precisionString
getQuantityDefinition()
Get the quantity definitiondouble
getScale()
Get the scaleTileMatrixSet
getTileMatrixSet()
Get the tile matrix setString
getTileMatrixSetName()
Get the tile matrix set nameString
getUom()
Get the units of measurevoid
setDataNull(Double dataNull)
Set the value that indicates NULLvoid
setDataType(GriddedCoverageDataType datatype)
Set the data typevoid
setFieldName(String fieldName)
Set the field namevoid
setGridCellEncoding(String gridCellEncoding)
Set the grid cell encodingvoid
setGridCellEncodingType(GriddedCoverageEncodingType encodingtype)
Set the grid cell encoding typevoid
setOffset(double offset)
Set the offsetvoid
setPrecision(Double precision)
Set the precisionvoid
setQuantityDefinition(String quantityDefinition)
Set the quantity definitionvoid
setScale(double scale)
Set the scalevoid
setTileMatrixSet(TileMatrixSet tileMatrixSet)
Set the tile matrix setvoid
setUom(String uom)
Set the units of measure
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_ID
public static final String COLUMN_ID
id field name- See Also:
- Constant Field Values
-
COLUMN_TILE_MATRIX_SET_NAME
public static final String COLUMN_TILE_MATRIX_SET_NAME
tileMatrixSetName column- See Also:
- Constant Field Values
-
COLUMN_DATATYPE
public static final String COLUMN_DATATYPE
datatype column- See Also:
- Constant Field Values
-
COLUMN_SCALE
public static final String COLUMN_SCALE
scale column- See Also:
- Constant Field Values
-
COLUMN_OFFSET
public static final String COLUMN_OFFSET
offset column- See Also:
- Constant Field Values
-
COLUMN_PRECISION
public static final String COLUMN_PRECISION
precision column- See Also:
- Constant Field Values
-
COLUMN_DATA_NULL
public static final String COLUMN_DATA_NULL
dataNull column- See Also:
- Constant Field Values
-
COLUMN_GRID_CELL_ENCODING
public static final String COLUMN_GRID_CELL_ENCODING
gridCellEncoding column- Since:
- 2.0.1
- See Also:
- Constant Field Values
-
COLUMN_UOM
public static final String COLUMN_UOM
uom column- Since:
- 2.0.1
- See Also:
- Constant Field Values
-
COLUMN_FIELD_NAME
public static final String COLUMN_FIELD_NAME
fieldName column- Since:
- 2.0.1
- See Also:
- Constant Field Values
-
COLUMN_QUANTITY_DEFINITION
public static final String COLUMN_QUANTITY_DEFINITION
quantityDefinition column- Since:
- 2.0.1
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GriddedCoverage
public GriddedCoverage()
Default Constructor
-
GriddedCoverage
public GriddedCoverage(GriddedCoverage griddedCoverage)
Copy Constructor- Parameters:
griddedCoverage
- gridded coverage to copy- Since:
- 1.3.0
-
-
Method Detail
-
getId
public long getId()
Get the id- Returns:
- id
-
getTileMatrixSet
public TileMatrixSet getTileMatrixSet()
Get the tile matrix set- Returns:
- tile matrix set
-
setTileMatrixSet
public void setTileMatrixSet(TileMatrixSet tileMatrixSet)
Set the tile matrix set- Parameters:
tileMatrixSet
- tile matrix set
-
getTileMatrixSetName
public String getTileMatrixSetName()
Get the tile matrix set name- Returns:
- tile matrix set name
-
getDataType
public GriddedCoverageDataType getDataType()
Get the data type- Returns:
- data type
-
setDataType
public void setDataType(GriddedCoverageDataType datatype)
Set the data type- Parameters:
datatype
- data type
-
getScale
public double getScale()
Get the scale- Returns:
- scale as a multiple relative to the unit of measure
-
setScale
public void setScale(double scale)
Set the scale- Parameters:
scale
- scale as a multiple relative to the unit of measure
-
getOffset
public double getOffset()
Get the offset- Returns:
- offset to the 0 value
-
setOffset
public void setOffset(double offset)
Set the offset- Parameters:
offset
- offset to the 0 value
-
getPrecision
public double getPrecision()
Get the precision- Returns:
- smallest value that has meaning for this dataset
-
setPrecision
public void setPrecision(Double precision)
Set the precision- Parameters:
precision
- smallest value that has meaning for this dataset
-
getDataNull
public Double getDataNull()
Get the value that indicates NULL- Returns:
- value that indicates NULL
-
setDataNull
public void setDataNull(Double dataNull)
Set the value that indicates NULL- Parameters:
dataNull
- value that indicates NULL
-
getGridCellEncodingType
public GriddedCoverageEncodingType getGridCellEncodingType()
Get the grid cell encoding type- Returns:
- grid cell encoding type
- Since:
- 2.0.1
-
setGridCellEncodingType
public void setGridCellEncodingType(GriddedCoverageEncodingType encodingtype)
Set the grid cell encoding type- Parameters:
encodingtype
- grid cell encoding type- Since:
- 2.0.1
-
getGridCellEncoding
public String getGridCellEncoding()
Get the grid cell encoding- Returns:
- grid cell encoding
- Since:
- 2.0.1
-
setGridCellEncoding
public void setGridCellEncoding(String gridCellEncoding)
Set the grid cell encoding- Parameters:
gridCellEncoding
- grid cell encoding- Since:
- 2.0.1
-
getUom
public String getUom()
Get the units of measure- Returns:
- units of measure
- Since:
- 2.0.1
-
setUom
public void setUom(String uom)
Set the units of measure- Parameters:
uom
- units of measure- Since:
- 2.0.1
-
getFieldName
public String getFieldName()
Get the field name- Returns:
- field name
- Since:
- 2.0.1
-
setFieldName
public void setFieldName(String fieldName)
Set the field name- Parameters:
fieldName
- field name- Since:
- 2.0.1
-
getQuantityDefinition
public String getQuantityDefinition()
Get the quantity definition- Returns:
- quantity definition
- Since:
- 2.0.1
-
setQuantityDefinition
public void setQuantityDefinition(String quantityDefinition)
Set the quantity definition- Parameters:
quantityDefinition
- quantity definition- Since:
- 2.0.1
-
-