Class StacExtent
The class describes the spatio-temporal extents of the Collection, both spatial and temporal. STAC Extent Object
Inheritance
System.Object
StacExtent
Namespace: Stac.Collection
Assembly: DotNetStac.dll
Syntax
public class StacExtent : ICloneable
Constructors
| Improve this Doc View SourceStacExtent(StacExtent)
Initializes a new instance of the StacExtent class. Initialize a new Stac Extent from an existing one (clone).
Declaration
public StacExtent(StacExtent extent)
Parameters
Type | Name | Description |
---|---|---|
StacExtent | extent | The extent. |
StacExtent(StacSpatialExtent, StacTemporalExtent)
Initializes a new instance of the StacExtent class.
Declaration
public StacExtent(StacSpatialExtent spatial, StacTemporalExtent temporal)
Parameters
Type | Name | Description |
---|---|---|
StacSpatialExtent | spatial | Spatial Extent. |
StacTemporalExtent | temporal | Temporal Extent. |
Properties
| Improve this Doc View SourceSpatial
Gets or sets Potential StacSpatialExtent covered by the Collection.
Declaration
public StacSpatialExtent Spatial { get; set; }
Property Value
Type | Description |
---|---|
StacSpatialExtent | The spatial extent. |
Temporal
Gets or sets Potential StacTemporalExtent covered by the Collection.
Declaration
public StacTemporalExtent Temporal { get; set; }
Property Value
Type | Description |
---|---|
StacTemporalExtent | The temporal extent. |
Methods
| Improve this Doc View SourceClone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
Create(IEnumerable<StacItem>)
Create a new StacExtent from a set of StacItem
Declaration
public static StacExtent Create(IEnumerable<StacItem> items)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<StacItem> | items | Set of StacItem |
Returns
Type | Description |
---|---|
StacExtent | A StacExtent that represents the spatio-temporal extent of all the items together |