Skip To Content ArcGIS for Developers Sign In Dashboard

MosaicDatasetRaster Class

(Esri::ArcGISRuntime::MosaicDatasetRaster)

A geodatabase model designed for managing a collection of raster images. More...

Header: #include <MosaicDatasetRaster>
Since: Esri::ArcGISRuntime 100.0
Inherits: Raster

Public Functions

MosaicDatasetRaster(const QString &path, const QString &tableName, QObject *parent = nullptr)
~MosaicDatasetRaster()
TaskWatcher addRasters(const AddRastersParameters &parameters)
QString tableName() const

Signals

void addRastersCompleted(QUuid taskId, Esri::ArcGISRuntime::Error error)

Static Public Members

MosaicDatasetRaster *create(const QString &path, const QString &tableName, const SpatialReference &spatialReference, QObject *parent = nullptr)
MosaicDatasetRaster *create(Geodatabase *geodatabase, const QString &tableName, const SpatialReference &spatialReference, QObject *parent = nullptr)
void remove(Geodatabase *geodatabase, const QString &tableName)
QStringList tableNames(const QString &path)
  • 10 static public members inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

A geodatabase model designed for managing a collection of raster images.

This format provides many benefits such as dynamic mosaicking, managing large image collections, etc.

For further details on mosaic datasets, please see the ArcGIS Desktop documentation

Member Function Documentation

MosaicDatasetRaster::MosaicDatasetRaster(const QString &path, const QString &tableName, QObject *parent = nullptr)

Constructor that takes a path, tableName, and optional parent.

  • path. Path of the SQLite file that contains mosaic dataset, can be local path or network path.
  • tableName. The name of the table used to construct this MosaicDatasetRaster.
  • parent. An optional QObject parent.

MosaicDatasetRaster::~MosaicDatasetRaster()

Destructor.

TaskWatcher MosaicDatasetRaster::addRasters(const AddRastersParameters &parameters)

Adds rasters to mosaic dataset raster.

  • parameters. The add rasters parameters object.

This function was introduced in Esri::ArcGISRuntime 100.1.

[signal] void MosaicDatasetRaster::addRastersCompleted(QUuid taskId, Esri::ArcGISRuntime::Error error)

Emitted when adding rasters task has completed.

  • taskId - The task ID for the asynchronous operation.
  • error - Details about any error that may have occurred.

[static] MosaicDatasetRaster *MosaicDatasetRaster::create(const QString &path, const QString &tableName, const SpatialReference &spatialReference, QObject *parent = nullptr)

Creates a mosaic dataset raster specifying path and tableName.

  • path. Path of the SQLite file that contains mosaic dataset, can be local path or network path.
  • tableName. The name of the table used to construct this MosaicDatasetRaster.
  • spatialReference. The spatial reference of the mosaic dataset raster to be created.
  • parent. An optional QObject parent.

This function was introduced in Esri::ArcGISRuntime 100.1.

[static] MosaicDatasetRaster *MosaicDatasetRaster::create(Geodatabase *geodatabase, const QString &tableName, const SpatialReference &spatialReference, QObject *parent = nullptr)

Creates a mosaic dataset raster with input geodatabase, tableName, and the desired spatial reference.

  • geodatabase. The geodatabase object.
  • tableName. The name of the table used to construct this MosaicDatasetRaster.
  • spatialReference. The spatial reference of the mosaic dataset raster to be created.
  • parent. An optional QObject parent.

This function was introduced in Esri::ArcGISRuntime 100.1.

[static] void MosaicDatasetRaster::remove(Geodatabase *geodatabase, const QString &tableName)

Deletes mosaic dataset raster from the specified geodatabase.

  • geodatabase. The geodatabase object.
  • tableName. The name of the mosaic dataset raster to be deleted.

This function was introduced in Esri::ArcGISRuntime 100..

QString MosaicDatasetRaster::tableName() const

Gets the name of the table used to construct this MosaicDatasetRaster.

[static] QStringList MosaicDatasetRaster::tableNames(const QString &path)

Returns mosaic dataset table names in the SQLite database.

  • path. A SQLite database file.

This function will retrieve mosaic dataset table names from the input SQLite database.

This function was introduced in Esri::ArcGISRuntime 100.1.


Feedback on this topic?