[Qgis-developer] Iterate on vectors : overlay analysis

Samy-DT alami.samy at gmail.com
Wed Jul 3 03:15:04 PDT 2013


Hello,

I'm a beginner in python and pyqgis. 

I have a precise idea of what I want to do with python scripts : I have
often many recurrent overlaying tasks to do.
For example, what are the layers which intersects with a particular or a
bunch of layers in a folder or in a spatialite database ? Or make a buffer
for all the vector layers in a folder or a spatialite database. 

So I need to learn how to loop with vectors and apply overlaying or spatial
query to them.

For now I searched :
- On how to work with layers from map canvas : ok with pyqgis cookbook
-On how to intersect : QGSOverlayAnalyzer for the Intersection, but I don't
know for buffer etc.
- on how to loop with layers and QGSOverlayAnalyzer...not idea at all.
- on how to loop with spatial queries, not idea at all.

As the API is huge and the classes numerous, could you guide my research in
the good direction ? Or give some example of looping with an overlay
treatment between current map layers or folders ?

Thanks for your help.

Bye





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Iterate-on-vectors-overlay-analysis-tp5063764.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list