GeoRaster class

A raster class representing a geoimage containing physical data.

At the current time only esrii ascii and tiffs are supported.

Inheritance

Constructors

GeoRaster(File? _file)
GeoRaster.ascToWrite(int cols, int rows, double res, double xLLCorner, double yLLCorner, {double? defaultValue, double? novalue, String? prjWkt})
Create a georaster in esrii asc format to write.

Properties

bands int?
Get the number of bands.
no setteroverride
dataList List<List<double>>
getter/setter pair
geoInfo GeoInfo?
Get the geoinformation object for the selected image.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
image → Image?
Get the image for the currnetly read imageIndex.
no setteroverride
imageBytes List<int>?
Get the image bytes for the currnetly read imageIndex.
no setteroverride
isEsriAsc bool
getter/setter pair
isTiff bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeMode bool
getter/setter pair

Methods

getDouble(int col, int row, [int? band]) double
Get the raster value as double at a given position and (optional) band.
override
getInt(int col, int row, [int? band]) int
Get the raster value as int at a given position and (optional) band.
override
getTag(int key) List<int>?
Get the tag values for a given tag key.
override
hasTags() bool
Check if the image has tags (tiff tags).
override
loopWithDoubleValue(Function colRowValueFunction) → void
Loop over a raster using a function of type: (col, row, floatvalue) { ...processing goes in here }
override
loopWithGridNode(Function gridNodeFunction) → void
Loop over a raster using a function of type: (gridNode) { ...processing goes in here }
override
loopWithIntValue(Function colRowValueFunction) → void
Loop over a raster using a function of type: (col, row, intvalue) { ...processing goes in here }
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read([int? imageIndex]) → void
Read the raster accessing the file.
override
setDouble(int col, int row, double value, [int? band]) → void
Set the raster value as double at a given position and (optional) band.
override
setInt(int col, int row, int value, [int? band]) → void
Set the raster value as int at a given position and (optional) band.
override
toString() String
A string representation of this object.
inherited
write(String path) → void
Write a raster to file.
override

Operators

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