#778 Support TiTiler expressions by tariqksoliman · Pull Request #779 · NASA-AMMOS/MMGIS · GitHub
Skip to content

#778 Support TiTiler expressions#779

Merged
tariqksoliman merged 1 commit into
developmentfrom
ts-778
Oct 23, 2025
Merged

#778 Support TiTiler expressions#779
tariqksoliman merged 1 commit into
developmentfrom
ts-778

Conversation

@tariqksoliman

Copy link
Copy Markdown
Member

Closes #778

With Claude (bedrock)

  • TiTiler tile layer support band math expressions
  • As does the IdentifierTool
  • User can, if configured to permit them to, modify the expression within the given layer's LayersTool settings.
  • The Admin can configure the default band math expression for COG raster layers
  • The Admin can also configure whether users will be able to customize the band math expression in the LayersTool raster layer settings or not.
  • The COG settings for tile layers in the configure page has moved the Core Tab to a new COG tab.

Expression Syntax

Expressions seem to be mainly a standard math expression ()+-/* where bX (or BX) (where X is the band number) are the variables for bands. I'm not sure if you'll need to worry about this part but, when constructing an RGB image from an expression, it would use ; to denote each output band (so red_expression;green_expression;blue_expression). To represent a different asset within the STAC item, use a _ between the asset name and band: assetname_bX

Example: asset1_b1 + asset2_b1 / assest3_b1 + 50

Images

Screenshot 2025-10-23 140738 Screenshot 2025-10-23 140829

@tariqksoliman tariqksoliman self-assigned this Oct 23, 2025
@tariqksoliman tariqksoliman added the new feature New feature or request label Oct 23, 2025
@tariqksoliman tariqksoliman merged commit d650f9d into development Oct 23, 2025
1 check passed
@github-project-automation github-project-automation Bot moved this to Done in MMGIS Oct 23, 2025
@tariqksoliman tariqksoliman deleted the ts-778 branch October 23, 2025 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[New Feature]: Support TiTiler expressions

1 participant