developmentseed / titiler

Build your own Raster dynamic map tile services
https://developmentseed.org/titiler/
MIT License
766 stars 157 forks source link

Band names in expression are now lower case only #668

Closed glaroc closed 1 year ago

glaroc commented 1 year ago

?expression=sqrt(B1)

used to work but in current titiler version expression needs to be

?expression=sqrt(b1)

This is not really a problem, but the examples in the doc use uppercase B.

vincentsarago commented 1 year ago

@glaroc could you point where in the docs we use B1 so we can fix this 🙏

glaroc commented 1 year ago

For example, in every QueryParams section here: https://github.com/developmentseed/titiler/blob/main/docs/src/endpoints/cog.md

vincentsarago commented 1 year ago

fixed in https://github.com/developmentseed/titiler/commit/9dc9d6b978053a32e8455e5e7c55388edb91070b 🙏