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.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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. ...
2
votes
0answers
44 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....
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 ...
2
votes
0answers
446 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
386 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 ...
2
votes
0answers
100 views

QGIS open action slightly changes my url when it tries to open it

I have an issue with creating active hyperlinks in QGIS. My url (after I deleted the site name) originally looks like this: ?type=canvas_rendering#%7B%22frame%22:%7B%22id%22:481350%7D%7D When I ...
2
votes
0answers
146 views

Linking URLs through actions in .url format for QGIS?

I need to link some DWG files. Normally I'd do that with a simple cmd /c start ""[% "Link_DWG" %]"" where "Link_DWG" is an attribute containing the URL of the file. My problem is that I need to link ...
2
votes
0answers
355 views

How to set QGIS action to open and search for features on Google Maps?

At the moment, I have an action that takes each term in an address field and conducts a search on EACH term in Google (ie. multiple tabs are opened for each term). The action code I have is the ...
1
vote
0answers
16 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 ...
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
0answers
43 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'%...
1
vote
1answer
374 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 ...
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 ...
1
vote
0answers
100 views

Create an action that loads the rasters that intersect a polygon feature

Using part of the code in "Developing QGIS Action which loads a raster" from PyQt4.QtCore import QFileInfo,QSettings from qgis.core import QgsRasterLayer, QgsCoordinateReferenceSystem s = QSettings()...
1
vote
0answers
74 views

Creating an Action using the Value column in Value Relation widget

I want to create an Action that would use the attributes (such as report_id and county) of a site_investigation_report feature to generate a file path to a PDF report. The county attribute uses the ...
1
vote
0answers
663 views

Embedding python to select feature in QGIS action

I am working from QGIS actions with python and want go to select the current feature that I've identified using the identify tool. (Key point is that there is a difference between identify and select)...
1
vote
0answers
66 views

How to read and write to .txt in layer properties, action tab?

I want to write a certain attribute to a .txt file using the action tab in the layer properties (combined with Hotlink). In the QGIS-2.2-UserGuide, on page 97, there is an example on how to do that ...
1
vote
0answers
208 views

Openlayers pop-up FeatureSelected doesn't invoke even FeatureClicked works well

My code snippet is: //Vector Layer with listeners: var vectorLayer = new OpenLayers.Layer.Vector("Kuzzular"); vectorLayer.events.on({ 'featureselected': function(evt) { var ...
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
18 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
46 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 ...
0
votes
0answers
22 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
70 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 ...