[QGIS-Developer] Fw: Select specific time slice of WMS-Time layer in PyQGIS

valpesendorfer valpesendorfer at proton.me
Tue Nov 8 01:03:25 PST 2022


Hello,

I'm trying to load a specific timeslice from a WMS layer using QgsRasterLayer in PyQGIS.

I've found a previous thread in this mailing list which is about how to make the layer "time-aware":
https://lists.osgeo.org/pipermail/qgis-developer/2021-May/063594.html

So far so good, I have a time aware layer - but how do I select a specific date out of the published capabilities? I couldn't find any documentation or examples on that. I've tried playing around with the temporalProperties of the layer, but without any success.

Thanks in advance for any help / hints!

PS: I also have a question on gis.stackexchange about this, which could offer some more details as well as the current progress towards a solution:

https://gis.stackexchange.com/q/444332/68322

Thanks,Val
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221108/27d2c242/attachment.htm>


More information about the QGIS-Developer mailing list