Show / Hide Table of Contents

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 Source

StacExtent(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.

| Improve this Doc View Source

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 Source

Spatial

Gets or sets Potential StacSpatialExtent covered by the Collection.

Declaration
public StacSpatialExtent Spatial { get; set; }
Property Value
Type Description
StacSpatialExtent

The spatial extent.

| Improve this Doc View Source

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 Source

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object
| Improve this Doc View Source

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

Extension Methods

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