Information about a specific raster. More...
| Header | #include <Raster |
| Since | Esri |
| Inherits | Esri |
Public Functions
| virtual | ~ |
| double | cell |
| double | cell |
| Esri | extent() const |
| Esri | spatial |
Detailed Description
Properties in this class describe basic characteristics of a raster. For example, extent provides the geographic area covered by the raster, while cellSizeX and cellSizeY specify the cell size (ground distance per pixel), which defines the spatial resolution of the raster.
Member Function Documentation
[override virtual noexcept] RasterInfo::~RasterInfo ()
Destructor.
double RasterInfo::cellSizeX () const
Returns the cell size (spatial resolution) of the raster in the x dimension.
The cell size is in the units of the spatialReference.
If the raster is not georeferenced, this property is 1.
double RasterInfo::cellSizeY () const
Returns the cell size (spatial resolution) of the raster in the y dimension.
The cell size is in the units of the spatialReference.
If the raster is not georeferenced, this property is 1.
Esri::ArcGISRuntime::Envelope RasterInfo::extent() const
Returns the full extent of the raster.
The extent is defined using the spatialReference coordinate space.
If the raster is not georeferenced, the Envelope is defined with coordinates based on the raster's width and height.
Esri::ArcGISRuntime::SpatialReference RasterInfo::spatialReference () const
Returns the spatial reference of the raster.
Properties such as extent, cellSizeX, and cellSizeY are defined in the context of this spatial reference.
If the raster is not georeferenced, this property is empty.