-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
WMS-T layers temporal constrains support #34497
WMS-T layers temporal constrains support #34497
Conversation
CC @tomkralidis |
e12f88a
to
8c6d58b
Compare
@Samweli great PR! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @Samweli !
Thanks @nyalldawson ! |
41ebd68
to
1b76e62
Compare
Can you please rebase (not merge) off the new master branch? |
Sure |
840e347
to
675e90c
Compare
Awesome work !! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just did a basic code sanity check. @nyalldawson has a much better overview of the temporal api questions.
One thing that needs to be checked (I tagged some but didn't go through everywhere) is if dataProvider() or temporalCapabilities() could be nullptr.
675e90c
to
2c04d22
Compare
Thanks @m-kuhn |
Ok, will need to add checks for those. |
Thanks for the inputs @m-kuhn ! |
updates on tests and abstract temporal class updates on qgsabstracttemporal sip and tests update qgsabstracttemporal test updated docs moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions edits per review on qgs map canvas remove access of private members from qgstemporalrangeobject updated render context test and fix travis tests added new temporal property class added tests for temporal property added tests for temporal property added temporal widget ui temporal support in raster layers, from wms provider temporal properties in raster layer properties added abstract temporal class updates on tests and abstract temporal class updates on qgsabstracttemporal sip and tests update qgsabstracttemporal test updated docs temporal support in raster layers, from wms provider update qgsabstracttemporal test updated docs moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions edits per review on qgs map canvas updated render context test and fix travis tests added new temporal property class added new map layer temporal properties sub classes with tests updates on map layers temporal properties classes fix travis tests add read and write xml tests added abstract temporal class updates on tests and abstract temporal class updates on qgsabstracttemporal sip and tests update qgsabstracttemporal test updated docs edits per review on qgs map canvas temporal properties in raster layer properties temporal support in raster layers, from wms provider moved qgsabstracttemporal class to qgstemporalrangeobject class as per review suggestions edits per review on qgs map canvas remove access of private members from qgstemporalrangeobject updated render context test and fix travis tests added new temporal property class added new map layer temporal properties sub classes with tests updated layer times ui added advanced options in layer time constrains ui fix for refreshing wms layer after temporal properties update update on wms-t temporal properties added support for bi-temporal WMS-T
e9d9f0f
to
c1275d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very close now, just a few minor things to tweak!
Looks good, just needs the build fixed now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GREAT! 🎉
Let's hope the CI is happy, and I'll merge...
Thanks @Samweli |
@DelazJ I'll assist with that post-merge |
Thanks @nyalldawson |
@elpaso seems the postgres raster tests are still being flaky -- see https://travis-ci.org/qgis/QGIS/jobs/658537736?utm_medium=notification&utm_source=github_status |
@nyalldawson @3nids I'm a bit lost: Isn't "feature" label supposed to create issue report in docs repo? Or is "needs documentation" the single label trigger (though "changelog" seems to have triggered some - qgis/QGIS-Documentation#4953 qgis/QGIS-Documentation#4952 qgis/QGIS-Documentation#4951 - recently)? |
Please add |
This PR adds the ability to constrain WMS temporal layers inside QGIS, that is, user will be able to constrain the datetime range for any temporal data source including from WMS-T providers.
This implementation lets user specify needed datetime range on the layer from the source tab on the layer properties dialog.
This PR include changes from the Temporal API here, the Temporal API is currently subject to changes.
Build up discussions about this can be found here and here .
Here below is an example of the workflow.
![Workflow-Temporal Layers](https://user-images.githubusercontent.com/2663775/74638436-ee0f5c00-517c-11ea-938e-cec23c61ba29.gif)
![WMS-T Layer time constrains feature at test](https://user-images.githubusercontent.com/2663775/74638491-02535900-517d-11ea-84e3-28729f05b14d.gif)
Screenshot of the consecutive results from the workflow.
Note: For instant based requests, specifying a range with equal begin and end datetime will result into using the specified datetime instant and not a range.