Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Added

- Top-level `item_assets` dict on `Collection`s ([#1476](https://github.com/stac-utils/pystac/pull/1476))
- Render Extension ([#1465](https://github.com/stac-utils/pystac/pull/1465))

### Changed

Expand Down
11 changes: 11 additions & 0 deletions pystac/extensions/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from pystac.extensions.pointcloud import PointcloudExtension
from pystac.extensions.projection import ProjectionExtension
from pystac.extensions.raster import RasterExtension
from pystac.extensions.render import Render, RenderExtension
from pystac.extensions.sar import SarExtension
from pystac.extensions.sat import SatExtension
from pystac.extensions.scientific import ScientificExtension
Expand All @@ -44,6 +45,7 @@
"pc",
"proj",
"raster",
"render",
"sar",
"sat",
"sci",
Expand All @@ -66,6 +68,7 @@
PointcloudExtension.name: PointcloudExtension,
ProjectionExtension.name: ProjectionExtension,
RasterExtension.name: RasterExtension,
RenderExtension.name: RenderExtension,
SarExtension.name: SarExtension,
SatExtension.name: SatExtension,
ScientificExtension.name: ScientificExtension,
Expand Down Expand Up @@ -118,6 +121,10 @@ def cube(self) -> DatacubeExtension[Collection]:
def item_assets(self) -> dict[str, ItemAssetDefinition]:
return ItemAssetsExtension.ext(self.stac_object).item_assets

@property
def render(self) -> dict[str, Render]:
return RenderExtension.ext(self.stac_object).renders

@property
def sci(self) -> ScientificExtension[Collection]:
return ScientificExtension.ext(self.stac_object)
Expand Down Expand Up @@ -172,6 +179,10 @@ def pc(self) -> PointcloudExtension[Item]:
def proj(self) -> ProjectionExtension[Item]:
return ProjectionExtension.ext(self.stac_object)

@property
def render(self) -> RenderExtension[Item]:
return RenderExtension.ext(self.stac_object)

@property
def sar(self) -> SarExtension[Item]:
return SarExtension.ext(self.stac_object)
Expand Down
Loading
Loading