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

QGIS Enhancement: Allow a simple way to refresh external datasets manually #282

Open
EwenH opened this issue Feb 24, 2024 · 1 comment
Open

Comments

@EwenH
Copy link

EwenH commented Feb 24, 2024

QGIS Enhancement: Allow a simple way to refresh external datasets manually

Date 2022/02/24

Author Ewen Hill @EwenH

Contact first name dot last name @ gmail etc

maintainer

Version QGIS 3.34

Summary

With any external web based dataset where the user has created a layer using http/s, I would like to request a refresh option on a right hand mouse click on layer to provide a "refresh layer" menu entry. This would allow novice users to easily requery datasets to be refreshed easily. This is not a big request and probably does not deserve a QGIS Enhancement so apologies if this is the case.

Proposed Solution

  1. When the RH mouse click on a layer is activated on an external web based layer, a new entry is added within the dynamic menu

  • ** Refresh layer **
  • Duplicate layer
  • Delete layer

  1. Clear any local cache and
  2. Send a pull request to refresh the layer
  3. Re-render the layer
  4. Notify the user of the update via the background notification system popup.

Example(s)

An example is a geojson layer from an external http/s source that shows wildfire burnt areas from line scans. I would to be able to allow users to requery this data set easily once users are notified of an update without the need to add a button or code or to restart QGIS.

Affected Files

tbc

Further Considerations/Improvements

Whilst this could be extended in complexity, this should assist most use cases and does not further enhancements initially. The only other consideration is to move "change data source..." menu item to the section to just under the new refresh layer to have this all in one place.

Backwards Compatibility

** not applicable **

Votes

(required)

@gioman
Copy link

gioman commented Feb 25, 2024

. This is not a big request and probably does not deserve a QGIS Enhancement so apologies if this is the case

@EwenH yes, probably this is better suited for a normal enhancement request. QEP are usually accompanied by technical details on how is proposed to achieve the enhancement and also often are backed by someone that has interest in having things done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants