Analysis APIs - geo_raster_sdk - 2.0

Geo Raster SDK Guide

Product type
Software
Portfolio
Locate
Product family
Spectrum
Product
Geo Raster SDK
Version
2.0
Language
English
Product name
Geo Raster SDK
Title
Geo Raster SDK Guide
Copyright
2024
First publish date
2021
Last edition
2024-07-19
Last publish date
2024-07-19T07:12:48.600318

Analysis APIs provide analysis operations that can be performed on the Raster. Below are the different Analysis APIs:

  • Line Statistics getLineStatistics: This method returns RasterLineStatistics Object. This object contains statistical information of a line calculated from an already opened Raster. The RasterLineStatistics object includes information like Minimum/Maximum value of the cell, Mean, Median, Mode, Range, Start/End/Middle Value of the cell, etc.
  • Polygon/Region Statistics getPolygonStatistics: This method returns the statistics of a given input polygon or region in the form of RasterPolygonStatistics Object from the underlying Raster dataset. The information contained in RasterPolygonStatistics object include Minimum/Maximum Value of the Cell, Mean, Range, Standard Deviation, Coefficient of Variance etc.
  • Cross Section Information getCrossSectionInfo: This method samples an already opened Raster Dataset along a series of points specified by line or polyline and returns information about each sample point. Output of this method is a list of RasterCrossSectionInfo Objects that has cross section data as statistics computed from the Raster. The cross-section statistics include X/Y coordinates of the sample point, distance, point status, etc. Status of a point in the cross section can either be VALID, OFF_GRID or NULL.
  • 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.