Show / Hide Table of Contents

Class RasterBand

Represents the Raster Band Object of the Raster extension

Inheritance
System.Object
RasterBand
Implements
IStacPropertiesContainer
Namespace: Stac.Extensions.Raster
Assembly: DotNetStac.dll
Syntax
public class RasterBand : object, IStacPropertiesContainer

Constructors

| Improve this Doc View Source

RasterBand()

Initializes a new instance of the RasterBand class.

Declaration
public RasterBand()

Properties

| Improve this Doc View Source

BitsPerSample

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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

| Improve this Doc View Source

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.

| Improve this Doc View Source

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).

| Improve this Doc View Source

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

| Improve this Doc View Source

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.

| Improve this Doc View Source

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).

| Improve this Doc View Source

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.

| Improve this Doc View Source

StacObjectContainer

Gets the StacObjectContainer.

Declaration
public IStacObject StacObjectContainer { get; }
Property Value
Type Description
IStacObject
| Improve this Doc View Source

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

| Improve this Doc View Source

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.

Implements

IStacPropertiesContainer

Extension Methods

StacAccessorsHelpers.ToStringByAttributes(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX