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

    Public Functions

    MosaicDatasetRaster(const QString &path, const QString &tableName, QObject *parent = nullptr)
    virtual ~MosaicDatasetRaster() override
    QFuture<void> addRastersAsync(const Esri::ArcGISRuntime::AddRastersParameters &parameters)
    QString tableName() const

    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.

    [override virtual] MosaicDatasetRaster::~MosaicDatasetRaster()

    Destructor.

    [since Esri::ArcGISRuntime 200.2] QFuture<void> MosaicDatasetRaster::addRastersAsync(const Esri::ArcGISRuntime::AddRastersParameters &parameters)

    Adds rasters to mosaic dataset raster.

    • parameters - The add rasters parameters object.

    This method returns a QFuture for the asynchronous operation. Use future.then() to continue processing when the operation completes. Use future.onFailed() to handle exceptions of type ErrorException.

    See Working with QFuture for further details.

    This function was introduced in Esri::ArcGISRuntime 200.2.

    [static, since Esri::ArcGISRuntime 100.1] 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, since Esri::ArcGISRuntime 100.1] 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, since Esri::ArcGISRuntime 100.1] 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, since Esri::ArcGISRuntime 100.1] 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.