-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 freezing up QGIS for long time when switching to TimeStep of seconds #40786
Comments
Reproducable in master and 3.16 on Windows and Linux |
There's two things happening here:
|
Thanks @nyalldawson, for diving into this. For point 1. calculation optimalisation would be nice, but in the case of this service, there IS data from 2012 till 2020 per 5 minutes, so the data extent IS huge. So only thing I can come up with is: IF service has a PM5 (=5Minutes) TimeExtent in it's capabilities, then (maybe?) disable the seconds/milliseconds part in the dropdown? (not preferable though) One optimalisation I see: if setting the Range via the input, do NOT start calculating if the time is not valid (as in: if you start to type '28' do not start when I only typed '2') For point 2. I started off to sent an issue-report to the service, but then thought: no they are just plain right: BUT.. they sent a HTTP 200 WITH an exception report... I think that is OK (cannot find anything about sending a non 200 in case of a OGC exception).
What about:
I tried to lookup info about 'forgiveness' in the TIME param, but could NOT find something in the WMS specs, |
Found out the this was actually my own faulty code... So tried to fix it :-) |
@rduivenvoorde you can also look at #35749 it contains an approach that avoids looping over list of datetimes to search for a desired datetime, given the datetimes interval is constant and known. |
Really don't know what is going on, but if I load a WMS-T layer in QGIS, for example this rain radar service:
http://geoservices.knmi.nl/cgi-bin/RADNL_OPER_R___25PCPRR_L3.cgi
All is fine: starting the temporal controller, and setting the timestep to one hour or 1 day (it is actually a 5 minute service), all is fine: you can see (network logger) QGIS requesting the images etc etc.
BUT: if you set the TimeStepUnit drop down to something like seconds (or milliseconds) QGIS freezes (with me as in: the dropdown turns dark grey, the fan of my laptop starts spinning etcetc) NO images are being requested, and then after about 70 seconds the dropdown turns light grey again, NO images is being requested. In the image below I changed the dropdown from minutes to seconds
Going back to minutes is ok again.
The text was updated successfully, but these errors were encountered: