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

Draft: WCS Coverage for multidimensional layers #332

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

belentorrente
Copy link
Collaborator

@belentorrente belentorrente commented Jan 31, 2024

As I wrote in the chat last month: Just some thoughts on the DescribeCoverage problem when it comes to including multidimensional layers. I thought maybe adding multiple AxisDescriptions would be the way to go, based on something I found in the documentation: The optional and repeatable axisDescription/AxisDescription element (...) describes an additional parameter (that is, an independent variable besides space and time), and the valid values of this parameter, which GetCoverage requests can use to select subsets of a coverage offering. However, there is some info about the layer dimensions that it not straightforward to get (for example, min and max for a given dimension), so I am a bit stuck there. Or maybe I could make a different request to provide the metadata that we do have, independently of this standard. Another thing I've observed is that one AxisDescription for the bands of a raster is hardcoded everywhere. Typing this here so I don't forget, we can discuss later.

Belén Torrente Torrente added 2 commits January 31, 2024 12:34
// Dims
for (size_t d = 0; d < layer->dimList.size(); d++) {
WMSLayer::Dim *dim = layer->dimList[d];
if (dim->name.indexOf("time") != -1) {
Copy link
Member

Choose a reason for hiding this comment

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

Would it be possible to show for time the min/max and resolution?

When I do describecoverage on a KNMI Radar file there is no time dimension in the describecoverage. I think we have to accomodate for a webclient, for a webclient it would be useful to have this information to generate a UI.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The resolution in the same way that we show in the getCapabilities description?

Copy link
Member

Choose a reason for hiding this comment

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

yes!

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.

2 participants