Skip to content

Commit 84a1a3d

Browse files
jpolchlogadomski
authored andcommitted
feat: add classification extension
1 parent e196e50 commit 84a1a3d

8 files changed

+3634
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
- All HTTP requests are logged when level is set to `logging.DEBUG` ([#1096](https://github.com/stac-utils/pystac/pull/1096))
1212
- `keep_parent` to Catalog `add_item` and `add_child` to avoid overriding existing parents ([#1117](https://github.com/stac-utils/pystac/pull/1117))
1313
- `owner` attribute to `AssetDefinition` in the item-assets extension ([#1110](https://github.com/stac-utils/pystac/pull/1110))
14+
- Updated raster extension to work with the item_assets extension's AssetDefinition objects ([#1110](https://github.com/stac-utils/pystac/pull/1110))
15+
- Classification extension ([#1093](https://github.com/stac-utils/pystac/pull/1093)), with support for adding classification information to item_assets' `AssetDefinition`s and raster's `RasterBand` objects.
1416

1517
### Changed
1618

pystac/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
import pystac.validation
8585

8686
import pystac.extensions.hooks
87+
import pystac.extensions.classification
8788
import pystac.extensions.datacube
8889
import pystac.extensions.eo
8990
import pystac.extensions.file
@@ -105,6 +106,7 @@
105106

106107
EXTENSION_HOOKS = pystac.extensions.hooks.RegisteredExtensionHooks(
107108
[
109+
pystac.extensions.classification.CLASSIFICATION_EXTENSION_HOOKS,
108110
pystac.extensions.datacube.DATACUBE_EXTENSION_HOOKS,
109111
pystac.extensions.eo.EO_EXTENSION_HOOKS,
110112
pystac.extensions.file.FILE_EXTENSION_HOOKS,

0 commit comments

Comments
 (0)