[Qgis-developer] Select all elements in the view ...

Geo DrinX geodrinx at gmail.com
Thu Oct 24 03:27:41 PDT 2013


Great Nathan !!!


> This is all you need:
>
> rq = QgsFeatureRequest(iface.mapCanvas().extent())
> for feature in layer.getFeatures(rq):
>

You are the best:  you solved in a second all my ploblems  :)


Thank thank thank you.

Roberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131024/c34ebd7b/attachment.html>


More information about the Qgis-developer mailing list