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

Network KML not refreshing if loaded as protocol rather than as file #28744

Open
qgib opened this issue Jan 6, 2019 · 15 comments
Open

Network KML not refreshing if loaded as protocol rather than as file #28744

qgib opened this issue Jan 6, 2019 · 15 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Jan 6, 2019

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


@qgib
Copy link
Contributor Author

qgib commented Jan 7, 2019

Author Name: Giovanni Manghi (@gioman)


I got a "page not found" with the kml link. can you please attach it? Thanks.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jan 7, 2019

Author Name: Phil Wyatt (@tastrax)


http://www.fire.tas.gov.au/Show?pageId=boundaryKml2 (just take off the layer name at the end)

@qgib
Copy link
Contributor Author

qgib commented Jan 7, 2019

Author Name: Giovanni Manghi (@gioman)


Phil Wyatt wrote:

http://www.fire.tas.gov.au/Show?pageId=boundaryKml2 (just take off the layer name at the end)

does it update frequently?

@qgib
Copy link
Contributor Author

qgib commented Jan 7, 2019

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


  • 14057 was configured as gearth.kml

@qgib
Copy link
Contributor Author

qgib commented Jan 7, 2019

Author Name: Giovanni Manghi (@gioman)


Does it works as expected on 2.18?

@qgib
Copy link
Contributor Author

qgib commented Jan 7, 2019

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.

@qgib
Copy link
Contributor Author

qgib commented Jan 16, 2019

Author Name: Phil Wyatt (@tastrax)


Giovanni Manghi wrote:

Phil Wyatt wrote:

http://www.fire.tas.gov.au/Show?pageId=boundaryKml2 (just take off the layer name at the end)

does it update frequently?

Today will be a good day to watch this URL - fires everywhere and changes will be made regularly

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2019

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Open

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 25, 2019
@Pedro-Murteira
Copy link

@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?

@tastrax
Copy link

tastrax commented Feb 28, 2022

@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
https://www.fire.tas.gov.au/Show?pageId=bfKml2

@Pedro-Murteira
Copy link

@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 https://www.fire.tas.gov.au/Show?pageId=bfKml2

Thank you, I will be keeping an eye out for those changes.

@Pedro-Murteira
Copy link

@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?

@gioman
Copy link
Contributor

gioman commented Mar 1, 2022

@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 gioman added the Data Provider Related to specific vector, raster or mesh data providers label Mar 1, 2022
@Pedro-Murteira
Copy link

Pedro-Murteira commented Mar 1, 2022

@gioman thank you, I can also confirm your assumption.

@tastrax
Copy link

tastrax commented Mar 3, 2022

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

@gioman gioman changed the title Network KML not refreshing Network KML not refreshing if loaded as protocol rather than as file Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

4 participants