Represents raster data that can be rendered using a RasterLayer. More...
|  Header |  #include <Raster.h | 
|  Since |  Esri | 
|  Inherits |  Esri | 
|  Inherited By |   Esri  | 
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
| Raster( | |
| Raster(const QString &path, QObject *parent = nullptr) | |
| virtual | ~ | 
| QString | path() const | 
|  Esri | raster | 
|  Esri | raster | 
Reimplemented Public Functions
| virtual void | cancel | 
| virtual void | load() override | 
|  virtual Esri | load | 
|  virtual Esri | load | 
| virtual void | retry | 
Signals
| void | done | 
| void | load | 
Detailed Description
A raster consists of a matrix of cells (or pixels) organized into rows and columns (or a grid) where each cell contains a value representing information, such as temperature. Rasters are digital aerial photographs, imagery from satellites, digital pictures, or even scanned maps.
It can be created from a raster file on device or from a raster function.
Supported Raster formats include:
- ASRP/USRP
 - CIB1, 5, 10
 - DTED0, 1, 2
 - GeoTIFF
 - HFA
 - HRE
 - IMG
 - JPEG
 - JPEG 2000
 - NITF
 - PNG
 - RPF
 - SRTM1, 2
 - Mosaic Dataset in SQLite (read-only)
 
Learn more about rasters from the ArcGIS Desktop documentation.
See also RasterLayer.
Member Function Documentation
Raster::Raster(Esri::ArcGISRuntime::RasterFunction     *rasterFunction , QObject *parent = nullptr) 
Constructor that takes a rasterFunction and an optional parent.
Raster::Raster(const QString &path, QObject *parent = nullptr) 
Constructor that takes a path to a local raster file and an optional parent.
[signal] void Raster::doneLoading (Esri::ArcGISRuntime::Error    loadError ) 
Signal emitted when this object is done loading.
- loadError - Details about any error that may have occurred.
 
Note: If there is a load error it will also be emitted on the errorOccurred signal.
[signal] void Raster::loadStatusChanged  (Esri::ArcGISRuntime::LoadStatus     loadStatus ) 
Signal emitted when the loadStatus changes for this object.
See also Loadable.
[override virtual] Raster::~Raster () 
Destructor.
[override virtual] void Raster::cancelLoad () 
Reimplements: Loadable::cancelLoad().
See Loadable.
[override virtual] void Raster::load() 
Reimplements: Loadable::load().
See Loadable.
[override virtual] Esri::ArcGISRuntime::Error    Raster::loadError () const 
Reimplements: Loadable::loadError() const.
See Loadable.
[override virtual] Esri::ArcGISRuntime::LoadStatus     Raster::loadStatus () const 
Reimplements: Loadable::loadStatus() const.
See Loadable.
QString Raster::path() const 
Returns the path to the raster file.
Esri::ArcGISRuntime::RasterFunction     *Raster::rasterFunction () const  
Returns the raster function used to create this raster.
Esri::ArcGISRuntime::RasterType     Raster::rasterType () const 
Returns the raster type.
[override virtual] void Raster::retryLoad () 
Reimplements: Loadable::retryLoad().
See Loadable.