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.

learn more… | top users | synonyms

1
vote
0answers
33 views

QGIS actions - get currently selected attribute column (with python?)

I'm trying to open files dynamically through actions. A simple example would be: Action name: OpenLink from PyQt4.QtCore import QUrl; from PyQt4.QtWebKit import QWebView; myWV = QWebView (None); ...
1
vote
0answers
40 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 ...
0
votes
0answers
17 views

open pictures on server using a shapefile in QGIS with the filepath as an attribute

For my work I need to open geo-tagged pictures of the forest, with known location stored in a point shapefile by clicking in QGIS on the file path in the attribute table of the shapefile. This all ...
0
votes
0answers
25 views

qgis action html

I'm a newbie in QGIS and python. I made a QGIS Action with parameters [% attributename %] that works fine. import urllib2 req = ...
1
vote
2answers
58 views

QGIS2.6 postgis relation between tables

I have three tables in Postgis: points called location(gid (pkey),name) example (1,Paris) temperatures named Temp(idTemp(pkey),TempValue,date) example (1,12,2015-01-01) relation between the two: ...
2
votes
1answer
137 views

Is there an equivalent of ArcGIS Hyperlink script editor in QGIS?

I am trying to find similar functionality in QGIS to ArcGIS Hyperlink script editor. In ArcGIS I can parse VBScript from a selected field in an attribute table. The script would execute on mouse ...
1
vote
0answers
21 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
60 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 ...
4
votes
1answer
164 views

QGIS 2.2 - possible to do a JOINS from the Action list?

I have a set of layers that need to be joined (Layer Properties > Joins) to one specific layer. The reason for this is that I will be updating and adding new layers into my project and would like a ...
0
votes
0answers
39 views

Can QGIS hyperlink polygons to link with a server?

I am trying to hyperlink a load of polygons to a set of files on a server (using the actions on QGIS). However, I can only seem to be able to link to files when they are either in by C: or online. Is ...
1
vote
0answers
59 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 ...
0
votes
1answer
98 views

Modifying Fields in QGIS

I'm pretty new to Quantum GIS, and I was looking to add zeros to a field I was having some trouble with. I learned through browsing a few posts here that existing fields can be modified by defining ...
0
votes
0answers
36 views

QGIS attribute action, open email client from Attribute table

I'm adding an QgsAttributeAction programmatically with the code below. actions = iface.activeLayer.actions() actions.addAction(QgsAction.OpenUrl, 'Email', 'mailto:[% "address" %]') Once added, I ...
1
vote
2answers
136 views

Open mail client when clicking feature in Attribute Table

One of the attributes/features of my layer contains an email address. I'd like to be able to open the default mail client by clicking on the mail address from the Attribute Table. After some initial ...
2
votes
1answer
131 views

How to call a method by BOTH a button AND a key shortcut

I have been trying to call a method by BOTH a key shortcut (as described here http://www.qgis.org/en/docs/pyqgis_developer_cookbook/snippets.html) and a button I created on the toolbar. The button ...
0
votes
1answer
85 views

How to open a shapefile linked custom metadata textfile within QGIS

I used a text file as a simple metadata for my shapefiles. It has basic information such as Source of raw data, Who can edit the file, Accuracy level, data category, Cost aquiring data, etc. The ...
0
votes
2answers
279 views

Qgis action adding layers using relative paths

in QGIS 2 windows I have some index layers I use for loading raster and vector tiles through an Python action. Currently I am using absolute paths which works fine but I would like to set it up so ...
2
votes
1answer
548 views

How to create a QGIS action which copies features between layers?

i tried (i never tried before...) to write a simple python code like action in QGIS on my "XXX" vector layer that: open a layer "YYY" copy the selected feature on my "XXX"layer paste the selected ...
1
vote
1answer
239 views

Can I open a form in layer action?

I want to open a form (made in QTDesign) in the layer action. It is possible?
1
vote
0answers
26 views

Displaying PDF files associated to feature objects location. [duplicate]

Are there any other methods allowing user to display PDF files associated to points feature object other than using Actions function available to QGIS Layer Properties? I have more than one thousand ...
1
vote
1answer
220 views

How can I change SQL query through a layer of an action (python)? [closed]

I have three layers from three diferent database tables. When I click in other layer I want to change (with an action) the query of that three layers. How can I do that? Thank you
2
votes
1answer
378 views

View HTML field data with QT4 browers as a QGIS Run Feature Action Tool

I've successfully populated a sqlite table with an HTML-encoded-table as a field attribute, and so there is literally a Table within a single field value in sqlite, for each record. This is going to ...
1
vote
2answers
166 views

Has Action behaviour changed between 1.7.4 and 1.8.0?

I have an Action that loads raster layers (.jp2) into the current QGIS window. This action has been working great in version 1.7.4. I have now upgraded to 1.8.0 for many reasons, but the same Action ...