PlanetaryComputerModelFactory.StacItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a STAC Item, which is a GeoJSON Feature with additional metadata.
public static Azure.Analytics.PlanetaryComputer.StacItem StacItem(string stacVersion = default, System.Collections.Generic.IEnumerable<Azure.Analytics.PlanetaryComputer.StacLink> links = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string shortDescription = default, System.Collections.Generic.IEnumerable<string> stacExtensions = default, Azure.Analytics.PlanetaryComputer.GeoJsonGeometry geometry = default, string id = default, string collection = default, System.Collections.Generic.IEnumerable<float> boundingBox = default, Azure.Analytics.PlanetaryComputer.StacItemProperties properties = default, System.Collections.Generic.IDictionary<string,Azure.Analytics.PlanetaryComputer.StacAsset> assets = default, DateTimeOffset? recordedOn = default, Azure.ETag? eTag = default);
static member StacItem : string * seq<Azure.Analytics.PlanetaryComputer.StacLink> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<string> * Azure.Analytics.PlanetaryComputer.GeoJsonGeometry * string * string * seq<single> * Azure.Analytics.PlanetaryComputer.StacItemProperties * System.Collections.Generic.IDictionary<string, Azure.Analytics.PlanetaryComputer.StacAsset> * Nullable<DateTimeOffset> * Nullable<Azure.ETag> -> Azure.Analytics.PlanetaryComputer.StacItem
Public Shared Function StacItem (Optional stacVersion As String = Nothing, Optional links As IEnumerable(Of StacLink) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional shortDescription As String = Nothing, Optional stacExtensions As IEnumerable(Of String) = Nothing, Optional geometry As GeoJsonGeometry = Nothing, Optional id As String = Nothing, Optional collection As String = Nothing, Optional boundingBox As IEnumerable(Of Single) = Nothing, Optional properties As StacItemProperties = Nothing, Optional assets As IDictionary(Of String, StacAsset) = Nothing, Optional recordedOn As Nullable(Of DateTimeOffset) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As StacItem
Parameters
- stacVersion
- String
Stac Version.
- links
- IEnumerable<StacLink>
Links to related resources and endpoints.
- createdOn
- Nullable<DateTimeOffset>
MSFT Created.
- updatedOn
- Nullable<DateTimeOffset>
MSFT Updated.
- shortDescription
- String
MSFT Short Description.
- stacExtensions
- IEnumerable<String>
URLs to STAC extensions implemented by this STAC resource.
- geometry
- GeoJsonGeometry
Geometry object defining the feature's shape.
- id
- String
Unique identifier for the feature.
- collection
- String
ID of the STAC collection this item belongs to.
- boundingBox
- IEnumerable<Single>
Bounding box coordinates for the feature.
- properties
- StacItemProperties
Attributes associated with the feature.
- assets
- IDictionary<String,StacAsset>
Assets.
- recordedOn
- Nullable<DateTimeOffset>
MSFT Timestamp.
Returns
A new StacItem instance for mocking.