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

2
votes
1answer
114 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
20 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
40 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
144 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
29 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
52 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
81 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
33 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
108 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 ...
1
vote
1answer
121 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
0answers
29 views

Assign feature actions in QGIS--too many actions run at the same time

Using QGIS, I'm assigning actions to a polygon layer whose features are based on extents of hundreds of maps of a variety of files (including DWG, DGN, PDF, jpg, etc). However, since some of the ...
0
votes
1answer
73 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
221 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
461 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
207 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
208 views

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

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
328 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
165 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 ...