Raster class final

Represents raster data that can be rendered using a RasterLayer.

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.

A Raster can be created from a raster file on the device or from a RasterFunction.

Supported Raster formats include:

  • ASRP/USRP
  • CRF
  • DTED0, 1, 2
  • GeoTIFF
  • HFA
  • HRE
  • IMG
  • JPEG
  • JPEG 2000
  • MrSID, generations 2, 3, and 4
  • NITF
  • PNG
  • PDF
  • RPF (CIB)
  • RPF (CADRG)
  • SRTM1, 2
  • Mobile mosaic datasets

Learn more about rasters from the ArcGIS Pro documentation.

Implemented types
Mixed-in types
Implementers

Constructors

Raster.withFileUri(Uri fileUri)
Creates a raster with path.
factory
Raster.withFunction(RasterFunction rasterFunction)
Creates a raster object from raster function.
factory

Properties

fileUri Uri?
The path in a raster object.
no setter
function RasterFunction?
Raster function in a raster object.
no setter
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 setter
rasterInfo RasterInfo?
Metadata that describes the raster.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
close() → void
Closes the raster and releases resources.
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