stac.collection¶
STAC Collection module.
Module Contents¶
Classes¶
The Stats object. |
|
The Spatial Extent object. |
|
The Temporal Extent object. |
|
The Extent object. |
|
The STAC Collection. |
- class stac.collection.Stats(data)¶
Bases:
dictThe Stats object.
- property min(self)¶
- Returns
the min of Stats for a collection.
- property max(self)¶
- Returns
the max of Stats for a collection.
- class stac.collection.SpatialExtent(data)¶
Bases:
dictThe Spatial Extent object.
- property bbox(self)¶
- Returns
the bbox of the Spatial Extent.
- class stac.collection.TemporalExtent(data)¶
Bases:
dictThe Temporal Extent object.
- property interval(self)¶
- Returns
the interval of the Temporal Extent.
- class stac.collection.Extent(data)¶
Bases:
dictThe Extent object.
- property spatial(self)¶
- Returns
the spatial extent.
- property temporal(self)¶
- Returns
the temporal extent.
- class stac.collection.Collection(data, validate=False)¶
Bases:
stac.catalog.CatalogThe STAC Collection.
- property keywords(self)¶
- Returns
the Collection list of keywords.
- property version(self)¶
- Returns
the Collection version.
- property license(self)¶
- Returns
the Collection license.
- property providers(self)¶
- Returns
the Collection list of providers.
- property extent(self)¶
- Returns
the Collection extent.
- property properties(self)¶
- Returns
the Collection properties.
- property summaries(self)¶
- Returns
the Collection summaries.
- property schema(self)¶
- Returns
the Collection jsonschema.
- get_items(self, item_id=None, filter=None)¶
Retrieve items of the collection.
- Parameters
item_id (str) – (optional) a str with a STAC Item id.
filter (dict) – (optional) A dictionary with valid STAC query parameters.
- Returns
A GeoJSON FeatureCollection of STAC Items from the collection.
- _repr_html_(self)¶
HTML repr.