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.