Metadata APIs
The Metadata APIs provide metadata information about the Raster dataset. Below are the different Metadata APIs:
Raster Information
(getRasterInfo)
: This method returns information about a raster
dataset as RasterInfo Object. This RasterInfo object includes Name
of the Raster, Base Level, CoordSysString, FieldInfo, Height, Width, Overview, etc.
Raster Statistics
(getStatistics):
This method returns basic statistics
information of Raster Dataset as RasterStatistics Object for given field
and band index. This RasterStatistics object includes information like Minimum,
Maximum, Mean, Median, Mode, Area, Cell Difference, Standard Deviation, etc.
Cell Value
(getCellValue):
This is a function to get the valid Cell Value
at Grid Coordinates cellX and cellY in the form of a CellValue Object.
Cell Value could be Number or String depending upon Raster band. It also contains
information about the Status of the CellValue object whether it is VALID,
NO_DATA, OUT_OF_BOUNDS or ERROR.