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

WCS Rendering formats support #195

Closed
pomadchin opened this issue Feb 6, 2020 · 3 comments · Fixed by #349
Closed

WCS Rendering formats support #195

pomadchin opened this issue Feb 6, 2020 · 3 comments · Fixed by #349
Labels

Comments

@pomadchin
Copy link
Member

At this point WCS GetCoverage can return data only as a tiff. It would be nice to have some rendering options support.

@pomadchin pomadchin added the WCS label Feb 6, 2020
@echeipesh
Copy link
Collaborator

@pomadchin I'm not sure if I understand this issue. Could you please clarify ?

In my understanding WCS is supposed to return a rasters in format cell values can be used for further processing. Tiff being the most common format. For rendering WMS is the intended protocol, it has support for selecting rendering style and image encoding (PNG, JPG, etc).

Now given that we're planning on adding RGB composite MAML operation we may end up in some kind of weird middle ground where one could define a layer to be served by WCS where each pixel is an Int that actually encodes an RGB value. I'm not sure if that's good or bad, just going to happen at this point.

@pomadchin
Copy link
Member Author

@echeipesh WCS also supports specification of the output mime type (i.e. image/png instead of a tiff): https://github.com/geotrellis/geotrellis-server/blob/develop/ogc/src/main/scala/geotrellis/server/ogc/wcs/CapabilitiesView.scala#L207

@echeipesh
Copy link
Collaborator

Ah, so we can add JPG as supported format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants