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

[Feature] QGIS layer action support - partial ? #844

Closed
TotalNoobOnGIS opened this issue May 13, 2018 · 6 comments
Closed

[Feature] QGIS layer action support - partial ? #844

TotalNoobOnGIS opened this issue May 13, 2018 · 6 comments
Labels
action enhancement feedback stale This ticket might be closed soon

Comments

@TotalNoobOnGIS
Copy link

Would it be possible to run QGIS layer actions from lizmap ?

Then the actions like python commands and SQL query related processing would be enabled from the web (and executed on the QGIS server side)

Scenario in QGIS:

  • by using identify tool user selects a layer object
  • attribute table appears, with pull down menu containing a user defined layer actions
  • user can run defined layer actions (like SQL queries etc.)

My (limited) use case

  • User selects an object from lizmap canvas
  • pop-up is displayed with list of layer actions (buttons)
  • user can run the action in the context of select layer object

By having this functionality one could e.g. add features and then run layer action which could modify postgres layers, do calculations on server etc.

@TecnostudiAmbiente
Copy link

Right now as a workaround I am using an action managed by qgis, I used a personal pop-up with some variables in lizmap. My problem was to recall a link to a page using a unique code that could be found inside the geographic data table present in the psql database. I hope however to see the qgis action integration in the next release of lizmap.

Example lizmap custom pop-up with variables:

<Html>
<Body>
<P> Button </ p>
<button onclick = "window.location.href = 'https: //xxxxxx/?parameter={$variable}'" target = "_blank"> Click Me </button>
</ Body>
</ Html>

@rldhont
Copy link
Collaborator

rldhont commented Oct 16, 2019

To support Actions in Lizmap, we need that qgis server supports actions or a way to execute actions in qgis server.

@Gustry Gustry added the action label Jul 18, 2023
@Gustry
Copy link
Member

Gustry commented Jul 18, 2023

We have our own action, defined using SQL. We have different scope : layer, feature etc
https://docs.lizmap.com/current/fr/publish/configuration/action_popup.html and more in LWC 3.7 if I'm correct.

@mdouchin
Copy link
Collaborator

Related PR #3343

@Gustry
Copy link
Member

Gustry commented Feb 20, 2024

Can you try version 3.7 ? It has actions at the layer level now.

Copy link

This issue is missing some feedbacks. 👻
Please have a look to the discussion, thanks. 🦎

@github-actions github-actions bot added the stale This ticket might be closed soon label Apr 12, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action enhancement feedback stale This ticket might be closed soon
Projects
None yet
Development

No branches or pull requests

4 participants