Questions tagged [actions]

An action is something that happens when you click on a feature (in QGIS). It can add functionality to a map, such as retrieving additional information about an object.

Filter by
Sorted by
Tagged with
0
votes
1answer
50 views

QGIS Action to update several fields

I would like to update one ore more fields of my attribute table on demand (f.e. using a QGIS Action) with one simple click. For now I have to open attribute table or the layer properties, start field ...
0
votes
1answer
55 views

Opening folder using QGIS action with Total Commander

Is it possible to open a folder, with QGIS' "run feature action", using Total Commander instead of explorer? Something like: explorer [%'C:\myfolder'%] needs to be C:\totalcmd\TOTALCMD.EXE [%...
1
vote
1answer
40 views

Open specific page of a PDF using QGIS actions

Can anyone help me with the syntax to open a .pdf-file at a specific page using a QGIS action? For example, a 50 page pdf has the information of use at page 8, so invoking the action in the QGIS Map ...
1
vote
0answers
17 views

Action on filtered objects QGIS

I have got a point layer with about 1000 points. These point has a rule based symbology. So far so common. In this layer I have also some actions implemented. If I unselect some rules, that only the ...
2
votes
1answer
72 views

Can I make an Action on QGIS to open a file(.tiff) on an attribute table directly to Photoshop

Here is the sample file image to be opened. Is there's a way to open an image file (.tiff) on the attribute table using an image viewer like Photoshop. Can I create an Action on QGIS so that it ...
0
votes
0answers
23 views

Is there a way to maintain map tips and/or actions in an exported PDF using QGIS?

I am working on a project that displays the locations of a group's projects in a city. I have it set up now so that map tips shows the name of the project and location when you hover over the point. I ...
0
votes
0answers
19 views

QGIS Action Open Image

Can someone advise me where i might be going wrong when trying to open an Image in a Network folder using the Action function in QGIS I have a point dataset with a column that has the image location ...
0
votes
1answer
49 views

QGIS Action on layer postselect object

Hello to the community, I´m using QGIS 3.10 LTR. In my project I have a point layer (location of pictures) with 3 different actions (open file, open folder, open html). This works fine for me. To this ...
2
votes
1answer
130 views

Action to directly export selected features as GPX

I would like to directly export selected tracks of a line layer as gpx. The common way is: Select the line-layer select the tracks for export right-click on the layer -> save selected features as.....
0
votes
1answer
34 views

Automatically update field when value in related table is changed

i have set up a 1:n relation in QGIS. The parent layer contains trees (point geometry) and some basic informations about. The related table contains measurements which should be carried out to keep ...
0
votes
0answers
23 views

quick way to create new dissolved polygon from selected polygons (QGIS Actions)

Is there a quick way to create a new polygon from selected polygons (dissolve)? I have 2 or more single polygons from which I want to create a new dissolved polygon within the same layer in one or ...
0
votes
0answers
84 views

Show selected fields in popup window in QGIS cloud map

I am very new to QGIS and am using it to build an interactive map for an art project. I already published a map. Here is the link. https://qgiscloud.com/stillmountain/Loved-Ones-Map-2020/ What I ...
1
vote
1answer
105 views

Creating an QGIS Action to change a field value from yes to no

So I'm working on a project where I have to check the classification of a bunch of points in a QGIS project. I have created a styling which means I can perform this task with visual inspection. I have ...
1
vote
0answers
36 views

OpenLayers how to show long lat after click to map and make visible until next click to map?

I found this code for make visible long lat coordinate after moving the mouse over the map. And I rewrite to HTML page with newest OpenLayers version. I would like to show this long lat coordinates ...
1
vote
0answers
21 views

Making Open Action only enabled on visible polygons

I have a shape with polygons with Date field (YYYY-MM-DD). The shape is displayed as Categorised according to year (substr("Date",1,4) and I can switch polygons on an of according to year. I have an ...
1
vote
1answer
33 views

Apply transparency to a raster layer by using actions [closed]

i have a specific action to load an raster layer by clicking on it, however i need to know if is possible to open that specific file and automatically apply a style. My idea is when someone click and ...
3
votes
1answer
143 views

QGIS Actions in QField

I am creating an action in QGIS, which opens a link from an attribute. Is it possible to open such a link in QField (Android App)? Or is there any other way to open links from the attribute table in ...
2
votes
0answers
83 views

Add Action (-Button) to Attributes Form (QGIS)

Is it possible, to simply add a Action to a Attribute Form (Drag'n Drop Designer)? I know, I could use the QT-Designer and Python, but I'm looking for a fast and simple way without python knowledge. ...
4
votes
1answer
260 views

Editing feature geometry in action using PyQGIS

I have fieldwork photos stored in a vector layer, geotagged from EXIF GPS data. Sometimes the GPS is off, or even missing, and I need to move their position manually. Unfortunately, the Advanced ...
3
votes
1answer
218 views

Using Layer Actions on overlapping polygons with PyQGIS

I have a file with many overlapping polygons that outlines different datasets. In the attribute table I have an absolute Windows path to mapinfo tab files. I would like to define an action on the ...
1
vote
0answers
44 views

Open a URL in QGIS from form (or using actions) in Linux

Does anyone know the correct instructions to open a URL as an action (or from a form) using Arch Linux? In Windows it's as simple as using 'Open' in the action type, and then [%'field containing URL'%...
2
votes
1answer
101 views

QGIS Action commands in 3.8

In earlier versions i was able to open pdf files by using an action command like this one: cmd /c [%path%] this function no longer works on version 3.8. Any ideas why and what an alternative could ...
4
votes
1answer
196 views

Error from open image action in QGIS

I am using QGIS 3.6. By clicking on a polygon I want that an image associated to this polygon appears (as a pop-up window e.g.). The path for the pics are stored in the attribute table (string field)....
2
votes
0answers
45 views

Adding action to map in QGIS when link to actions menu item is missing?

I am running qgis 3.8.0 zanzibar on ubuntu 18.04. I am trying to set a hyper link on a point on the sample map (Alaska). A casual perusal tells me that I should set up an action. https://www....
0
votes
2answers
374 views

QGIS how to fill the fields instantly and automatically when creating an entity

I have a polygon layer, I want to fill the fields automatically each creation of a polygon. Knowing that there is a spatial relationship (intersection, contain ...) between my polygons and other ...
3
votes
2answers
601 views

Making button clickable to perform function in Leaflet?

I am trying to create buttons that will initiate a flyTo. I can click the buttons on the page but they do nothing action functions: <script> function Action(){ map.flyto([43.372000,...
3
votes
2answers
3k views

Creating a multiple select dropdown list in QGIS?

Is it possible to create a multiple select dropdown list/select widget in QGIS which links to a separate txt file? I want to collect species lists for different locations in qfield but do not want ...
1
vote
1answer
381 views

Removing “duplicate feature” button from QGIS attribute table

when I enable action buttons on particular layer I always get two additional buttons in edit mode: duplicate feature and duplicate feature and digitize. Is there any way to remove them, because they ...
3
votes
1answer
381 views

Open multiple files at once by QGIS actions buttons

I'm planning to put into my table a column with folder path, so it will be easy to open a folder with needed files in attributes table. Now I'm wondering if I could open not the folder, but all files ...
5
votes
1answer
379 views

QGIS actions: copy to clipboard some attributes

When I click on "execute action entity" =>Copy to clipboard a preconfigured set of attributes of my layer. Here's what I've done so far: Open the Layer Properties dialog and head over to the Actions ...
0
votes
1answer
146 views

QGIS hyperlink to server location- working in 3.0 but not 2.18.20?

This is not necessarily a pressing issue, as there is a workaround, but it has piqued my curiosity about how QGIS manages hyperlinks through its 'Action' functionality. Please feel free to correct my ...
1
vote
1answer
156 views

QGis 2.18 Actions window does not display 'Actions Properties'

I have installed QGis 2.18.19 64bits in Windows 7. My problem is when I open the layer properties actions window, I do not see the menu Action Properties. Apparently it should be there according to ...
1
vote
1answer
63 views

Action ran severall times when clicking on overlapping features

I have a layer of points and I associated a Python action to that layer which basically opens a url in the embedded QWebView. This works well. The issue I am facing is that if I zoom out and click ...
3
votes
1answer
171 views

Creating link between geopackage and pdf

I'm trying to create a link between geopackage and a folder that contains pdf files. There are points with the same name and they should open the same pdf. I want name 100 to open 100.pdf. Name 101 ...
1
vote
1answer
170 views

How to make a clickable label in qgis from an excel sheet?

I have location data in excel sheet where each label has corresponding data file for each financial year. I want it that when i click on a label, years pop up, and when i click on that year, its ...
2
votes
0answers
79 views

Action opening DWG file in Intellicad using file name in a attribute table

I have tried numerous variations in creating an action to open a DWG file in Intellicad after selecting a specific row in a table in QGIS. I am quite frankly stumped at this point. I have the DWG ...
3
votes
2answers
1k views

How to add a new feature to a layer

I have a table with three attributes [field1, field2, field3]. I'm trying to insert a new feature to this table by defining field2 and field3 only. lyr = QgsMapLayerRegistry.instance().mapLayer('...
1
vote
0answers
299 views

Get id of last added feature in qgis python action [duplicate]

I created a python qgis action that open the dialog form so the user can add a new feature. maintenance_lyr = QgsMapLayerRegistry.instance().mapLayer('od_maintenance_event20180212171049766') ...
3
votes
1answer
2k views

Creating QGIS copy-paste features between two layers using PyQGIS?

i want to create a QGIS action which copies features between two points layers using pyqgis . i have read How to create a QGIS action which copies features between layers? and i try to use this code: ...
2
votes
1answer
254 views

QGIS Action which load .asc

I have a grid layer (lidar_cortina) with "NAME" and "percorso"(path) coloumns: I'm trying to write an QGIS action that loads file .asc from a grid layer. qgis.utils.iface.addRasterLayer("[%percorso%]...
1
vote
0answers
63 views

Initiate field value before adding new feature

I have two layers: Chambre(obj_id) Ouvrage(obj_id, fk_chambre) The attribute Ouvrage.fk_chambre is referencing the attribute Chambre.obj_id. I'm trying to create an action on the Chambre layer that ...
2
votes
0answers
451 views

Open file from QGIS and search for text within it

I have a lot of data associated with a layer in QGIS. Each individual feature has its own information associated with it - but this information is within a number of different PDF files. I have ...
2
votes
0answers
391 views

Creating Action in Qgis

I'm trying to create an action in QGIS that open this link htt p://www.gulliver.it/itinerario-foto/14451/#!/uploaded/2014/large/20140929123749.jpg||grid2 but the character | is converted into %7C ...
1
vote
1answer
743 views

QGIS (python) action to open folder and search for string [closed]

I am using QGIS layer property actions. Is it possible for python to open windows explorer at a directory and then search for a custom string? Currently I can open windows explorer at the directory I ...
5
votes
1answer
309 views

QGIS Layer Action Invoking an EXE

I am able to launch exe files from within QGIS actions without any problem, but when I try to launch one in particular (img2pdf.exe) I get an error. Syntax error: invalid syntax The command I am ...
3
votes
1answer
1k views

how do I view geotagged photos and audio points in qgis mac?

How can I view geotagged photos and play audio files in qgis? For photos, HTML map tooltips used to work in qgis, but don't as of 2.18.2. For audio, I don't know of a solution.
4
votes
1answer
461 views

What is this 'Run layer action' and how to use it?

Following on from this question: Run QGIS layer Action on all selected features, a possible solution was to create an action in Python which iterated through the layer's selected features. If you ...
3
votes
1answer
2k views

Run QGIS layer Action on all selected features

QGIS is such an amazing tool with lots of useful features, so that it's easy to overlook some of them. Just to be sure it's not already implemented in QGIS 2.18: Is there any Attribute Table option ...
3
votes
1answer
2k views

Create an action in QGIS 2.18 to show image? [duplicate]

(Windows 10.1 and QGIS 2.18) I am trying to create an action for a Shapefile layer that will display an image when any of its three polygons are clicked. I have added an "image" field to the layer's ...
12
votes
4answers
12k views

Show images related to features in QGIS?

Say for example, if there's a point data with old trees, then when you use the identify tool, you can see the photograph of the tree Or even one level further, the labels displaying these images ...