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

Server WMS temporal properties support (Request in QGIS) #7622

Open
3 tasks done
qgis-bot opened this issue Jun 10, 2022 · 0 comments
Open
3 tasks done

Server WMS temporal properties support (Request in QGIS) #7622

qgis-bot opened this issue Jun 10, 2022 · 0 comments
Labels
3.26 QGIS 3.26 new features Server QGIS Server related
Milestone

Comments

@qgis-bot
Copy link
Collaborator

Request for documentation

From pull request qgis/QGIS#48497
Author: @elpaso
QGIS version: 3.26

Server WMS temporal properties support

PR Description:

Server WMS temporal properties

QGIS Server currently supports Dimensions ( TIME, ELEVATION etc.) for vector layers only and does not integrate with the (newer) temporal properties API of QGIS.

This PR exposes the temporal properties to the server: the server will expose the TIME dimension from the temporal properties to GetCapabilities and accept a TIME query string parameter to activate the time filtering.

Accepted TIME syntax

The OAPIF implementation will be used to parse the time instants and ranges:

     * Interval syntax:
     *
     *   interval-closed     = date-time "/" date-time
     *   interval-open-start = [".."] "/" date-time
     *   interval-open-end   = date-time "/" [".."]
     *   interval            = interval-closed / interval-open-start / interval-open-end
     *   datetime            = date-time / interval

Note that a list of instants and ranges will not be supported at this time.

Potential conflicts with defined TIME dimension

To solve the conflict, if a TIME dimension was explicitly defined for a vector layer, the temporal properties for that layer will not be activated and the explicitly set TIME dimension will be considered instead, this will solve compatibility issues with older projects.

TODO

  • Tests
  • Decide how to handle open ending/beginning interval and how to expose them in the capabilities
  • Expose "Default" to capabilities

Funded by: Gis3W

Commits tagged with [need-docs] or [FEATURE]

@github-actions github-actions bot added the 3.26 QGIS 3.26 new features label Jun 10, 2022
@DelazJ DelazJ added this to the QGIS 3.28 milestone Jun 10, 2022
@DelazJ DelazJ added the Server QGIS Server related label Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.26 QGIS 3.26 new features Server QGIS Server related
Projects
None yet
Development

No branches or pull requests

2 participants