MosaicDatasetRaster class final

Raster data that is retrieved from a mobile mosaic dataset.

Mosaic datasets are a collection of rasters along with an associated mobile geodatabase, typically published in ArcGIS Pro. The geodatabase contains information such as which rasters participate in the mosaic dataset and their paths on disk. To create a mosaic dataset in ArcGIS Pro for use in ArcGIS Maps SDK, use the Mosaic dataset to mobile mosaic dataset geoprocessing tool. You can also create a mobile mosaic dataset programmatically. Call MosaicDatasetRaster.createWithDatabaseUri to create a mobile geodatabase, followed by MosaicDatasetRaster.addRasters to add rasters.

Starting with ArcGIS Pro 3.8, you can publish mobile mosaic datasets with time information. Open the mosaic dataset properties in ArcGIS Pro, enable time support, and specify a start time field. End time fields are ignored.

Because RasterLayer implements the TimeAware interface, you can filter time-enabled mobile mosaic datasets using GeoViewController.timeExtent. When multiple rasters fall within the specified GeoViewController.timeExtent and overlap, the raster with the most recent timestamp draws on top.

For more details on mosaic datasets, see the ArcGIS Pro documentation.

Inheritance

Constructors

MosaicDatasetRaster({required Uri databaseUri, required String name})
Creates a mosaic dataset raster.
factory
MosaicDatasetRaster.createWithDatabaseUri({required Uri databaseUri, required String name, SpatialReference? spatialReference})
Creates a mosaic dataset raster with the specified database path, name, and the desired spatial reference.
factory
MosaicDatasetRaster.createWithGeodatabase({required Geodatabase geodatabase, required String name, SpatialReference? spatialReference})
Creates a new mobile mosaic dataset from an input mobile geodatabase, name, and the desired spatial reference.
factory

Properties

fileUri → Uri?
The path in a raster object.
no setterinherited
function → RasterFunction?
Raster function in a raster object.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
loadError → ArcGISException?
The load error.
no setterinherited
loadStatus → LoadStatus
The load status.
no setterinherited
onLoadStatusChanged → Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
pyramids → RasterPyramids?
An object for inspecting and managing pyramids for this raster.
no setterinherited
rasterInfo → RasterInfo?
Metadata that describes the raster.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRasters({required AddRastersParameters parameters}) → Future<void>
Adds rasters to mosaic dataset raster.
cancelLoad() → void
Cancels loading metadata for the object.
inherited
close() → void
Closes the raster and releases resources.
inherited
getDistinctTimestamps() → Future<List<DateTime>>
Returns a sorted collection of distinct timestamps of all rasters that participate in the mosaic dataset.
load() → Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retryLoad() → Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

getNames({required Uri databaseUri}) → List<String>
Returns mosaic dataset table names in the mobile geodatabase.
remove({required Geodatabase geodatabase, required String name}) → void
Deletes a mosaic dataset raster from the specified mobile geodatabase.