Skip to content

Commit 0829db8

Browse files
jpolchlogadomski
authored andcommitted
feat: add classification extension
1 parent 37dcf01 commit 0829db8

8 files changed

+3658
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
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))
1414
- Windows `\\` path delimiters are converted to POSIX style `/` delimiters ([#1125](https://github.com/stac-utils/pystac/pull/1125))
15+
- Updated raster extension to work with the item_assets extension's AssetDefinition objects ([#1110](https://github.com/stac-utils/pystac/pull/1110))
16+
- 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.
1517

1618
### Changed
1719

pystac/__init__.py

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

8787
import pystac.extensions.hooks
88+
import pystac.extensions.classification
8889
import pystac.extensions.datacube
8990
import pystac.extensions.eo
9091
import pystac.extensions.file
@@ -106,6 +107,7 @@
106107

107108
EXTENSION_HOOKS = pystac.extensions.hooks.RegisteredExtensionHooks(
108109
[
110+
pystac.extensions.classification.CLASSIFICATION_EXTENSION_HOOKS,
109111
pystac.extensions.datacube.DATACUBE_EXTENSION_HOOKS,
110112
pystac.extensions.eo.EO_EXTENSION_HOOKS,
111113
pystac.extensions.file.FILE_EXTENSION_HOOKS,

0 commit comments

Comments
 (0)