Class StacCatalog
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
Implements
Namespace: Stac
Assembly: DotNetStac.dll
Syntax
public class StacCatalog : object, IStacCatalog, IStacParent, IStacObject, IStacPropertiesContainer, ILinksCollectionObject, ICloneable
Constructors
| Improve this Doc View SourceStacCatalog(StacCatalog)
Initializes a new instance of the StacCatalog class. Initialize a new Stac Catalog from an existing one (clone)
Declaration
public StacCatalog(StacCatalog stacCatalog)
Parameters
Type | Name | Description |
---|---|---|
StacCatalog | stacCatalog | existing Stac Catalog |
StacCatalog(String, String, IEnumerable<StacLink>)
Initializes a new instance of the StacCatalog class.
Declaration
public StacCatalog(string id, string description, IEnumerable<StacLink> links = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | required identifier of the catalog |
System.String | description | required description of the catalog |
IEnumerable<StacLink> | links | optional links of the catalog |
Fields
| Improve this Doc View SourceMEDIATYPE
Catalog Media-Type string
Declaration
public const string MEDIATYPE = null
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceConstellation
Gets or sets the constellation the data was acquired from.
Declaration
public string Constellation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Created
Gets or sets the created date and time of the catalog.
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
DateTime
Gets or sets the start date and time of the catalog.
Declaration
public Itenso.TimePeriod.ITimePeriod DateTime { get; set; }
Property Value
Type | Description |
---|---|
Itenso.TimePeriod.ITimePeriod |
Description
Gets or sets the description of the Catalog.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Gsd
Gets or sets the gsd (Ground Sample Distance) in meters.
Declaration
public double? Gsd { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Id
Gets identifier for the Catalog.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String | Identifier for the Catalog. |
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> |
License
Gets or sets the license of the Catalog.
Declaration
public string License { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Links
Gets a list of references to other documents.
Declaration
public ICollection<StacLink> Links { get; }
Property Value
Type | Description |
---|---|
ICollection<StacLink> | A list of references to other documents. |
MediaType
Gets the type of the object
Declaration
public ContentType MediaType { get; }
Property Value
Type | Description |
---|---|
ContentType |
Mission
Gets or sets the mission the data was acquired from.
Declaration
public string Mission { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Platform
Gets or sets the platform the data was acquired from.
Declaration
public string Platform { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Properties
Gets catalog Properties
Declaration
public IDictionary<string, object> Properties { get; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.Object> | Catalog Properties |
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> |
StacExtensions
Gets a list of extension identifiers the Catalog implements
Declaration
public ICollection<string> StacExtensions { get; }
Property Value
Type | Description |
---|---|
ICollection<System.String> | A list of extension identifiers the Catalog implements |
StacObjectContainer
Gets the StacObjectContainer.
Declaration
public IStacObject StacObjectContainer { get; }
Property Value
Type | Description |
---|---|
IStacObject |
StacVersion
Gets or sets the STAC version the Catalog implements
Declaration
public SemVersion StacVersion { get; set; }
Property Value
Type | Description |
---|---|
SemVersion | The STAC version the Catalog implements |
Summaries
Gets a map of property summaries, either a set of values or statistics such as a range.
Declaration
public Dictionary<string, IStacSummaryItem> Summaries { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, IStacSummaryItem> | A map of property summaries, either a set of values or statistics such as a range. |
Title
Gets the title of the object
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets sTAC type (Catalog)
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
System.String | STAC type (Catalog) |
Updated
Gets or sets the updated date and time of the catalog.
Declaration
public DateTime Updated { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Methods
| Improve this Doc View SourceClone()
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object |
ShouldSerializeStacExtensions()
Declaration
public bool ShouldSerializeStacExtensions()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializeSummaries()
Declaration
public bool ShouldSerializeSummaries()
Returns
Type | Description |
---|---|
System.Boolean |