RasterLayer Class

Represents a raster layer.
Inheritance Hierarchy
SystemObject
  Aspose.Gis.RasterRasterLayer

Namespace:  Aspose.Gis.Raster
Assembly:  Aspose.GIS (in Aspose.GIS.dll) Version: 21.12.0.0 (21.12)
Syntax
public abstract class RasterLayer : IDisposable

The RasterLayer type exposes the following members.

Constructors
  NameDescription
Protected methodRasterLayer
Initializes a new instance of the RasterLayer class.
Properties
  NameDescription
Public propertyBandCount
Gets the number of bands in the raster layer.
Public propertyBounds
Gets the raster bounds.
Public propertyCellSize
Gets cell or pixel size of the raster.
Public propertyDriver
Gets the Driver that instantiated this layer.
Public propertyHeight
Gets the height of the raster in pixels. Also it is known as rows count.
Public propertyNoDataValues
Gets the values that represents background or 'no data' of the raster.
Public propertySpatialReferenceSystem
Gets a spatial reference system of raster. Can be if it is unknown.
Public propertyUpperLeftX
Gets x-coordinate of the raster upper left corner.
Public propertyUpperLeftY
Gets y-coordinate of the raster upper left corner.
Public propertyWidth
Gets the width of the raster in pixels. Also it is known as columns count.
Methods
  NameDescription
Public methodCrop
Crops the raster layer using a shape form.
Public methodDispose
Releases the resources used by the RasterLayer.
Protected methodDispose(Boolean)
Releases the resources used by the RasterLayer.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBand
Gets a band by the specified index.
Public methodGetExtent
Calculates a spatial extent of this layer.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSpatialPoint
Converts the specified column and row to the spatial coordinate.
Public methodGetStatistics
Calculate summary statistics consisting of count, sum, mean, min, max.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValues
Reads the values in the specified cell.
Public methodGetValuesDump
Reads the values in the specified block as a 1-dimension array.
Public methodGetValuesOnExpression
Reads and processes band values ​​in an expression.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodWarp
Warps the raster layer to another.
See Also