Thank you so much. I really appreciate your help!
Michael McInnis
6033 44th Ave. N.E.
Seattle, WA 98115
206 517-4701
Date: Fri, 28 Feb 2014 07:21:21 +0100
From: denis.rouz...@gmail.com
To: mmcinni...@msn.com; qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Select By Attribute
Oh, Man, Thanks !
I can't wait to work with this today !
Michael McInnis
6033 44th Ave. N.E.
Seattle, WA 98115
206 517-4701
From: madman...@gmail.com
Date: Fri, 28 Feb 2014 16:26:06 +1000
Subject: Re: [Qgis-developer] Select By Attribute
To: denis.rouz...@gmail.com
CC: mmcinni...@msn.com;
Desperately need help doing attribute based selection :
How do I select all features in a LAYER that the Field LWFLAG != 'P'
Python Console
from osgeo import ogr
canvas = qgis.utils.iface.mapCanvas()
allLayers = canvas.layers()
for i in allLayers: i.selectAll(); print i.name(); print
i.selecte
using attribute values such as
i.selectFeatures("LWFLAG" != 'P')
to set the selected features for the dissolve function?
qgis.analysis.QgsGeometryAnalyzer.dissolve?4(QgsVectorLayer,
QString, bool onlySelectedFeatures=True, int uniqueIdField=-1) -> bool
Michael McInnis
6033 44t
Greetings Devs,
I have a large number of shapefiles I need to process and have had limited
success using QGis 2.0.1 with it's python console.
// This works -
from osgeo import ogr
canvas =
qgis.utils.iface.mapCanvas()
allLayers = canvas.layers()
for i in allLayers: i.selectAll(); print i.name(