Show / Hide Table of Contents

Class StacItem

This class allows accessing commonly used fields in STAC Item They are often used in STAC Item properties, but can also be used in other places, e.g. an Item Asset or Collection Asset. STAC Common Metadata

Inheritance
System.Object
StacItem
Implements
IStacObject
IStacPropertiesContainer
ILinksCollectionObject
ICloneable
GeoJSON.Net.Feature.Feature
Namespace: Stac
Assembly: DotNetStac.dll
Syntax
public class StacItem : GeoJSON.Net.Feature.Feature, IStacObject, IStacPropertiesContainer, ILinksCollectionObject, ICloneable, GeoJSON.Net.Feature.Feature

Constructors

| Improve this Doc View Source

StacItem(StacItem)

Initializes a new instance of the StacItem class.

Declaration
public StacItem(StacItem stacItem)
Parameters
Type Name Description
StacItem stacItem

A StacItem to copy

| Improve this Doc View Source

StacItem(String, IGeometryObject, IDictionary<String, Object>)

Initializes a new instance of the StacItem class.

Declaration
public StacItem(string id, IGeometryObject geometry, IDictionary<string, object> properties = null)
Parameters
Type Name Description
System.String id

Identifier of the item

IGeometryObject geometry

Geometry of the item

IDictionary<System.String, System.Object> properties

Properties of the item

Fields

| Improve this Doc View Source

MEDIATYPE

Item Media-Type string

Declaration
public const string MEDIATYPE = null
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

Assets

Gets the assets of the Item

Declaration
public IDictionary<string, StacAsset> Assets { get; }
Property Value
Type Description
IDictionary<System.String, StacAsset>
| Improve this Doc View Source

Collection

Gets or sets the id of the STAC Collection this Item references to

Declaration
public string Collection { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Constellation

Gets or sets the constellation the data was acquired from.

Declaration
public string Constellation { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Created

Gets or sets the created date and time of the Item.

Declaration
public DateTime Created { get; set; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

DateTime

Gets or sets the date and time the data was acquired.

Declaration
public Itenso.TimePeriod.ITimePeriod DateTime { get; set; }
Property Value
Type Description
Itenso.TimePeriod.ITimePeriod
| Improve this Doc View Source

Description

Gets or sets the description of the Item.

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Gsd

Gets or sets the name of the satellite the data was acquired from.

Declaration
public double? Gsd { get; set; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

Instruments

Gets or sets the instruments used to acquire the data.

Declaration
public IEnumerable<string> Instruments { get; set; }
Property Value
Type Description
IEnumerable<System.String>
| Improve this Doc View Source

License

Gets or sets the license of the Item.

Declaration
public string License { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Links

Gets a list of references

Declaration
public ICollection<StacLink> Links { get; }
Property Value
Type Description
ICollection<StacLink>
| Improve this Doc View Source

MediaType

Gets the type of the object

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

Mission

Gets or sets the mission the data was acquired from.

Declaration
public string Mission { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Platform

Gets or sets the platform the data was acquired from.

Declaration
public string Platform { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Providers

Gets a list of providers, which may include all organizations capturing or processing the data or the hosting provider. Providers should be listed in chronological order with the most recent provider being the last element of the list.

Declaration
public Collection<StacProvider> Providers { get; }
Property Value
Type Description
Stac.Collection<StacProvider>
| Improve this Doc View Source

RootProperties

Gets item root extended data

Declaration
public IDictionary<string, object> RootProperties { get; }
Property Value
Type Description
IDictionary<System.String, System.Object>
| Improve this Doc View Source

StacExtensions

Gets a list of extension identifiers the Item implements

Declaration
public ICollection<string> StacExtensions { get; }
Property Value
Type Description
ICollection<System.String>
| Improve this Doc View Source

StacObjectContainer

Gets the StacObjectContainer.

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

StacVersion

Gets or sets the STAC version the Item implements

Declaration
public SemVersion StacVersion { get; set; }
Property Value
Type Description
SemVersion
| Improve this Doc View Source

Title

Gets the title of the object

Declaration
public string Title { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Updated

Gets or sets the updated date and time of the Item.

Declaration
public DateTime Updated { get; set; }
Property Value
Type Description
DateTime

Methods

| Improve this Doc View Source

Clone()

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

ShouldSerializeStacExtensions()

Declaration
public bool ShouldSerializeStacExtensions()
Returns
Type Description
System.Boolean

Implements

IStacObject
IStacPropertiesContainer
ILinksCollectionObject
ICloneable
GeoJSON.Net.Feature.Feature

Extension Methods

StacAccessorsHelpers.SetProperty(IStacObject, String, Object)
StacAccessorsHelpers.SetProperty(IStacPropertiesContainer, String, Object)
StacAccessorsHelpers.GetProperty(IStacPropertiesContainer, String)
StacAccessorsHelpers.GetProperty<T>(IStacPropertiesContainer, String)
StacAccessorsHelpers.ToStringByAttributes(Object)
StacAccessorsHelpers.GetObservableCollectionProperty<T>(IStacPropertiesContainer, String)
StacAccessorsHelpers.RemoveProperty(IStacPropertiesContainer, String)
StacAccessorsHelpers.SetCollection(StacItem, String, Uri, String)
StacAccessorsHelpers.GetCollection(StacItem)
StacGeometryHelpers.GetBoundingBoxFromGeometryExtent(StacItem)
PatchHelpers.Patch<T>(T, IDictionary<String, Object>)
PatchHelpers.Patch<T>(T, IStacObject)
StacExtensions.GetDeclaredExtensions(IStacPropertiesContainer)
DatacubeStacExtensionExtensions.DatacubeStacExtension(StacItem)
DisasterStacExtensionExtensions.DisasterExtension(IStacObject)
EoStacExtensionExtensions.EoExtension(StacItem)
EoStacExtensionExtensions.GetAsset(StacItem, EoBandCommonName)
EoStacExtensionExtensions.GetBandObject(StacItem, EoBandCommonName)
ProcessingStacExtensionExtensions.ProcessingExtension(StacItem)
ProjectionStacExtensionExtensions.ProjectionExtension(StacItem)
SarStacExtensionExtensions.SarExtension(StacItem)
SarStacExtensionExtensions.GetAsset(StacItem, String)
SatStacExtensionExtensions.SatExtension(StacItem)
StorageStacExtensionExtensions.StorageExtension(StacItem)
VersionStacExtensionExtensions.VersionExtension(StacItem)
VersionStacExtensionExtensions.PredecessorVersion(StacItem, Func<StacLink, StacItem>)
VersionStacExtensionExtensions.SuccessorVersion(StacItem, Func<StacLink, StacItem>)
VersionStacExtensionExtensions.LatestVersion(StacItem, Func<StacLink, StacItem>)
ViewStacExtensionExtensions.ViewExtension(StacItem)
VirtualAssetsStacExtensionExtensions.EoExtension(StacItem)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX