MosaicDatasetRaster Class

  • MosaicDatasetRaster
  • class Esri::ArcGISRuntime::MosaicDatasetRaster

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

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    MosaicDatasetRaster(const QString &path, const QString &tableName, QObject *parent = nullptr)
    virtual ~MosaicDatasetRaster() override
    Esri::ArcGISRuntime::TaskWatcher addRasters(const Esri::ArcGISRuntime::AddRastersParameters &parameters)
    QString tableName() const

    Signals

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

    Static Public Members

    Esri::ArcGISRuntime::MosaicDatasetRaster *create(const QString &path, const QString &tableName, const Esri::ArcGISRuntime::SpatialReference &spatialReference, QObject *parent = nullptr)
    Esri::ArcGISRuntime::MosaicDatasetRaster *create(Esri::ArcGISRuntime::Geodatabase *geodatabase, const QString &tableName, const Esri::ArcGISRuntime::SpatialReference &spatialReference, QObject *parent = nullptr)
    void remove(Esri::ArcGISRuntime::Geodatabase *geodatabase, const QString &tableName)
    QStringList tableNames(const QString &path)

    Detailed Description

    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.

    [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.

    [override virtual] MosaicDatasetRaster::~MosaicDatasetRaster()

    Destructor.

    Esri::ArcGISRuntime::TaskWatcher MosaicDatasetRaster::addRasters(const Esri::ArcGISRuntime::AddRastersParameters &parameters)

    Adds rasters to mosaic dataset raster.

    • parameters. The add rasters parameters object.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    [static] Esri::ArcGISRuntime::MosaicDatasetRaster *MosaicDatasetRaster::create(const QString &path, const QString &tableName, const Esri::ArcGISRuntime::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] Esri::ArcGISRuntime::MosaicDatasetRaster *MosaicDatasetRaster::create(Esri::ArcGISRuntime::Geodatabase *geodatabase, const QString &tableName, const Esri::ArcGISRuntime::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(Esri::ArcGISRuntime::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.1.

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.