Skip to content

Multi band symbology#360

Merged
martinRenou merged 11 commits intogeojupyter:mainfrom
gjmooney:multi_band_symbology
Jan 21, 2025
Merged

Multi band symbology#360
martinRenou merged 11 commits intogeojupyter:mainfrom
gjmooney:multi_band_symbology

Conversation

@gjmooney
Copy link
Collaborator

@gjmooney gjmooney commented Jan 17, 2025

Description

Add Multiband symbology #328

multibandshow

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--360.org.readthedocs.build/en/360/
💡 JupyterLite preview: https://jupytergis--360.org.readthedocs.build/en/360/lite

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch gjmooney/jupytergis/multi_band_symbology

@github-actions
Copy link
Contributor

github-actions bot commented Jan 17, 2025

Integration tests report: appsharing.space

@gjmooney gjmooney force-pushed the multi_band_symbology branch from f0d9fc4 to 11631bd Compare January 20, 2025 16:41
@gjmooney gjmooney added the enhancement New feature or request label Jan 20, 2025
@gjmooney gjmooney changed the title [WIP] Multi band symbology Multi band symbology Jan 20, 2025
@gjmooney gjmooney marked this pull request as ready for review January 20, 2025 16:44
colorExpr.push(bandValue !== 0 ? ['band', bandValue] : 0);
});

// Array expression expects 4 values
Copy link
Member

@martinRenou martinRenou Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it for the alpha channel? Should we expose that in the UI too? e.g. allow using the first band for alpha channel

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QGIS only has options to set the red, green, and blue bands. I think this is a good place to start and we can add an option to change the alpha in a future PR.

@gjmooney gjmooney force-pushed the multi_band_symbology branch from 16fb378 to 3081abc Compare January 21, 2025 10:56
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!

Let's track the alpha channel thingy in an issue

@martinRenou martinRenou merged commit 5e05c1a into geojupyter:main Jan 21, 2025
14 checks passed
@gjmooney gjmooney deleted the multi_band_symbology branch January 21, 2025 12:54
HaudinFlorence pushed a commit to HaudinFlorence/jupytergis that referenced this pull request Jan 28, 2026
* Add label prop to BandRow

* Add multiband to tiff rendering

* Hide min/max for multiband

* Load renderType from params

* Add multiband fields to webgllayer schema

* Add multiband color symbology panel

* Condense

* Iterate

* Factor out common stuff to hook

* Clean up

* Use correct alpha band
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants