0
votes
0answers
4 views

Query from plugin that shows result on Map and in Attribute Table

I'd like to create a plugin that performs a static (no user input required) query that, based on a condition, selects all the features on the map and displays these in the attribute table. I have the ...
0
votes
1answer
33 views

How can i create single feature fwith Combining Selected feature qgis?

I am trying to create a single Qgsfeature from the Combination of selected features in Pyqgis. Currently i create the feature using a loop over selected features and combine them 1 by 1. but this ...
1
vote
2answers
131 views

How to select features of visible layers in QGIS

In QGIS 1.8 I used plugin "Select features of visible layers by rectangle" to know the layer that owns a visible feature. In QGIS 2.0.1 this plugin is no more available. I wonder if it is possible to ...
1
vote
2answers
106 views

Length of Feature

I have a shapefile which renders a map. I want to calculate and preferably store length of each feature in the shapefile either using QGis or through programmatic means. What is the best way to get ...
2
votes
0answers
54 views

Is there a way to distinguish between digitized and pasted features?

Is there a way to tell if an added feature in QGIS is in fact a newly digitized one or a pasted feature? I think QGIS is treating both cases in the same way, emitting the same signal: ...
4
votes
1answer
84 views

Is it possible show the feature attributes dialog when I add a feature in code?

I want to know if it is possible to make the feature attributes dialog in Qgis show up when I add a feature by code using: QgsVectorLayer::addFeature( tFeature ) This is available when I add ...
1
vote
2answers
121 views

Fetching field values from uncommitted features on Qgis

I'm trying to fetch a feature's field value on Qgis, I use QgsFeature.attributeMap().value(cont int & key).toDouble() This works fine for committed features but it always returns " 0 " if the ...