Class RasterBand
Represents the Raster Band Object of the Raster extension
Inheritance
Implements
Namespace: Stac.Extensions.Raster
Assembly: DotNetStac.dll
Syntax
public class RasterBand : object, IStacPropertiesContainer
Constructors
| Improve this Doc View SourceRasterBand()
Initializes a new instance of the RasterBand class.
Declaration
public RasterBand()
Properties
| Improve this Doc View SourceBitsPerSample
Gets or sets the actual number of bits used for this band.
Declaration
public int? BitsPerSample { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The actual number of bits used for this band. |
DataType
Gets or sets the data type of the band.
Declaration
public DataType? DataType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DataType> | The data type of the band. |
Histogram
Gets or sets histogram distribution information of the pixels values in the band
Declaration
public RasterHistogram Histogram { get; set; }
Property Value
Type | Description |
---|---|
RasterHistogram | Histogram distribution information of the pixels values in the band |
Nodata
Gets or sets pixel values used to identify pixels that are nodata in the assets.
Declaration
public double? Nodata { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | Pixel values used to identify pixels that are nodata in the assets. |
Offset
Gets or sets number to be added to the pixel value (after scaling) to transform into the value (i.e. translate digital number to reflectance).
Declaration
public double? Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | number to be added to the pixel value (after scaling) to transform into the value (i.e. translate digital number to reflectance). |
Properties
Gets or sets additional fields
Declaration
public IDictionary<string, object> Properties { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.Object> | Additional fields |
Sampling
Gets or sets one of area or point. Indicates whether a pixel value should be assumed to represent a sampling over the region of the pixel or a point sample at the center of the pixel.
Declaration
public RasterSampling? Sampling { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<RasterSampling> | One of area or point. Indicates whether a pixel value should be assumed to represent a sampling over the region of the pixel or a point sample at the center of the pixel. |
Scale
Gets or sets multiplicator factor of the pixel value to transform into the value (i.e. translate digital number to reflectance).
Declaration
public double? Scale { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | multiplicator factor of the pixel value to transform into the value (i.e. translate digital number to reflectance). |
SpatialResolution
Gets or sets average spatial resolution (in meters) of the pixels in the band.
Declaration
public double? SpatialResolution { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | Average spatial resolution (in meters) of the pixels in the band. |
StacObjectContainer
Gets the StacObjectContainer.
Declaration
public IStacObject StacObjectContainer { get; }
Property Value
Type | Description |
---|---|
IStacObject |
Statistics
Gets or sets statistics of all the pixels in the band
Declaration
public Statistics Statistics { get; set; }
Property Value
Type | Description |
---|---|
Statistics | Statistics of all the pixels in the band |
Unit
Gets or sets unit denomination of the pixel value.
Declaration
public string Unit { get; set; }
Property Value
Type | Description |
---|---|
System.String | Unit denomination of the pixel value. |