I would like to run the Geoprocessing script for intersecting GIS layers 
(shape files) from within a python plugin. 
In the Quantum GIS API documentation I found this definition: 

bool QgsOverlayAnalyzer::intersection  ( QgsVectorLayer *  layerA, 
  QgsVectorLayer *  layerB, 
  const QString &  shapefileName, 
  bool  onlySelectedFeatures = false, 
  QProgressDialog *  p = 0 
 ) 

How to translate this to the script ? I'm able to select an output 
shapefileName. How to grab the input files from the map and is the result 
added to the MapCanvas ? 

Thanx. 

Jack Schoenmakers 



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-apply-intersection-of-layers-in-Python-plugin-script-tp5029680.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to