Class EoStacExtensionExtensions
Extension methods for accessing EO extension
Inheritance
System.Object
EoStacExtensionExtensions
Namespace: Stac.Extensions.Eo
Assembly: DotNetStac.dll
Syntax
public static class EoStacExtensionExtensions : object
Methods
| Improve this Doc View SourceEoExtension(StacAsset)
Initilize a EoStacExtension class from a STAC asset
Declaration
public static EoStacExtension EoExtension(this StacAsset stacAsset)
Parameters
Type | Name | Description |
---|---|---|
StacAsset | stacAsset | Stac Asset |
Returns
Type | Description |
---|---|
EoStacExtension | EoStacExtension class |
EoExtension(StacItem)
Initilize a EoStacExtension class from a STAC item
Declaration
public static EoStacExtension EoExtension(this StacItem stacItem)
Parameters
Type | Name | Description |
---|---|---|
StacItem | stacItem | Stac Item |
Returns
Type | Description |
---|---|
EoStacExtension | EoStacExtension class |
GetAsset(StacItem, EoBandCommonName)
Get a STAC asset from a STAC item by its common name
Declaration
public static StacAsset GetAsset(this StacItem stacItem, EoBandCommonName commonName)
Parameters
Type | Name | Description |
---|---|---|
StacItem | stacItem | Stac Item |
EoBandCommonName | commonName | common name |
Returns
Type | Description |
---|---|
StacAsset | Stac Asset |
GetBandObject(StacItem, EoBandCommonName)
Get a STAC EO Band object from a STAC item by its common name
Declaration
public static EoBandObject GetBandObject(this StacItem stacItem, EoBandCommonName commonName)
Parameters
Type | Name | Description |
---|---|---|
StacItem | stacItem | Stac Item |
EoBandCommonName | commonName | common name |
Returns
Type | Description |
---|---|
EoBandObject | Stac EO Band object |