Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration for IO LULC 9 class #34

Merged
merged 2 commits into from
Jan 18, 2022
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 @@ -11,5 +11,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added
- Errors are logged using exceptions and including request metadata [#14](https://github.com/microsoft/planetary-computer-apis/pull/14)
- Configuration for io-lulc-9-class [#34](https://github.com/microsoft/planetary-computer-apis/pull/34)
### Fixed
- Updated search limit constraints to avoid 500s [#15](https://github.com/microsoft/planetary-computer-apis/pull/15)
7 changes: 7 additions & 0 deletions pccommon/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ def should_add_item_links(self) -> bool:
mosaic_preview_coords=[-0.8749, 109.8456],
minzoom=4,
),
"io-lulc-9-class": DefaultRenderConfig(
assets=["data"],
render_params={"colormap_name": "io-lulc-9-class"},
mosaic_preview_zoom=4,
mosaic_preview_coords=[-0.8749, 109.8456],
minzoom=4,
),
"jrc-gsw": DefaultRenderConfig(
assets=["occurrence"],
render_params={"colormap_name": "jrc-occurrence", "nodata": 0},
Expand Down