|
20 | 20 | from pystac.extensions.pointcloud import PointcloudExtension |
21 | 21 | from pystac.extensions.projection import ProjectionExtension |
22 | 22 | from pystac.extensions.raster import RasterExtension |
| 23 | +from pystac.extensions.render import Render, RenderExtension |
23 | 24 | from pystac.extensions.sar import SarExtension |
24 | 25 | from pystac.extensions.sat import SatExtension |
25 | 26 | from pystac.extensions.scientific import ScientificExtension |
|
44 | 45 | "pc", |
45 | 46 | "proj", |
46 | 47 | "raster", |
| 48 | + "render", |
47 | 49 | "sar", |
48 | 50 | "sat", |
49 | 51 | "sci", |
|
66 | 68 | PointcloudExtension.name: PointcloudExtension, |
67 | 69 | ProjectionExtension.name: ProjectionExtension, |
68 | 70 | RasterExtension.name: RasterExtension, |
| 71 | + RenderExtension.name: RenderExtension, |
69 | 72 | SarExtension.name: SarExtension, |
70 | 73 | SatExtension.name: SatExtension, |
71 | 74 | ScientificExtension.name: ScientificExtension, |
@@ -118,6 +121,10 @@ def cube(self) -> DatacubeExtension[Collection]: |
118 | 121 | def item_assets(self) -> dict[str, ItemAssetDefinition]: |
119 | 122 | return ItemAssetsExtension.ext(self.stac_object).item_assets |
120 | 123 |
|
| 124 | + @property |
| 125 | + def render(self) -> dict[str, Render]: |
| 126 | + return RenderExtension.ext(self.stac_object).renders |
| 127 | + |
121 | 128 | @property |
122 | 129 | def sci(self) -> ScientificExtension[Collection]: |
123 | 130 | return ScientificExtension.ext(self.stac_object) |
@@ -172,6 +179,10 @@ def pc(self) -> PointcloudExtension[Item]: |
172 | 179 | def proj(self) -> ProjectionExtension[Item]: |
173 | 180 | return ProjectionExtension.ext(self.stac_object) |
174 | 181 |
|
| 182 | + @property |
| 183 | + def render(self) -> RenderExtension[Item]: |
| 184 | + return RenderExtension.ext(self.stac_object) |
| 185 | + |
175 | 186 | @property |
176 | 187 | def sar(self) -> SarExtension[Item]: |
177 | 188 | return SarExtension.ext(self.stac_object) |
|
0 commit comments