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

Raster style implementation #567

Merged
merged 12 commits into from
Oct 4, 2023
Merged

Raster style implementation #567

merged 12 commits into from
Oct 4, 2023

Conversation

constantinius
Copy link
Member

@constantinius constantinius commented Sep 8, 2023

Fixes #565

This PR creates the facilities to generate dynamic raster styles.

They will for now exist in conjunction with the previous hardcoded color ramps.

It introduces RasterStyle and RasterStyleColorEntry as models and general concepts. Raster styles are of either type: ramp, intervals or values, which allows continuous smooth with interpolation, fixed colors with cutoffs or only rendering of the specified values and discarding everything else.

Raster styles are associated with Browse Types and are selected via the style parameter in WMS.

This PR comes with models, migrations, admin and CLI tools to interact with the new data.

Missing:

  • Tests
  • Documentation
  • Linking of RasterStyle to BrowseType via a through model

Adding models, objects and renderer factories for a proof of concept
Showing configured raster styles in WMS capabilities
Adding command to link RasterStyle to BrowseTypes
eoxserver/resources/coverages/models.py Dismissed Show dismissed Hide dismissed
@constantinius constantinius marked this pull request as ready for review September 18, 2023 13:39
@constantinius constantinius merged commit 25b4dac into master Oct 4, 2023
20 checks passed
@constantinius constantinius deleted the configured-styles branch October 4, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for colormaps
2 participants