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
Network KML not refreshing if loaded as protocol rather than as file #28744
Comments
Author Name: Giovanni Manghi (@gioman) I got a "page not found" with the kml link. can you please attach it? Thanks.
|
Author Name: Phil Wyatt (@tastrax) http://www.fire.tas.gov.au/Show?pageId=boundaryKml2 (just take off the layer name at the end) |
Author Name: Giovanni Manghi (@gioman) Phil Wyatt wrote:
does it update frequently? |
Author Name: Phil Wyatt (@tastrax) Generally whilst fires are underway its likely to refresh every 4 - 6 hours (depending on the number of fires). Other layers within the attached file (from which I got the URL) are updated more frequently
|
Author Name: Giovanni Manghi (@gioman) Does it works as expected on 2.18? |
Author Name: Phil Wyatt (@tastrax) I would need to check again but my suspicion is NO. Drag and drop of the gearth.kml doesnt work however I understand that is because of the network connections. |
Author Name: Phil Wyatt (@tastrax) Giovanni Manghi wrote:
Today will be a good day to watch this URL - fires everywhere and changes will be made regularly |
Author Name: Giovanni Manghi (@gioman)
|
@tastrax Hello, from what I understand there are no active fires at the moment, so I can't really test the validity of this issue. Did you come across this issue in more recent versions of QGIS? |
@Pedro-Murteira There are currently 3 fires using either of these kml's but it may be a few days before there are changes https://www.fire.tas.gov.au/Show?pageId=boundaryKml2 |
Thank you, I will be keeping an eye out for those changes. |
@tastrax One of the kml's had originally 4 features within it's attribute table. I just checked now, after a few hours and only 3 features were there. Can we assume that it is working as expected? |
@Pedro-Murteira you can use this KML (updated every 5 minutes) https://www.naturalgis.pt/random_points.kml to see that this issue is still valid. Despite the remote datasource changes, QGIS does not refresh the source until restarting the program. Closing the project and reopening it still loads the same features that came the moment the KML was added (and that is bonkers to me, were does QGIS "stores" that data?). |
@gioman thank you, I can also confirm your assumption. |
I have just tried this again in 3.24 and if the kml is loaded as a file versus protocol then an F5 refresh does indeed update the data without closing the project and or restarting QGIS |
Author Name: Phil Wyatt (@tastrax)
Original Redmine Issue: 20925
Affected QGIS version: 3.4.3
Redmine category:vectors
KML added via vector protocol
http://www.fire.tas.gov.au/Show?pageId=boundaryKml2|layername=Burnt Area
Cant be refreshed - need to close QGIS and reopen to see updates. F5 key does not refresh
URL taken from kml at following site
http://www.fire.tas.gov.au/Show?pageId=xmlFeedsHome
The text was updated successfully, but these errors were encountered: