QGIS API Documentation
2.8.2-Wien
|
The QGis class provides vector overlay analysis functions. More...
#include <qgsoverlayanalyzer.h>
Public Member Functions | |
bool | intersection (QgsVectorLayer *layerA, QgsVectorLayer *layerB, const QString &shapefileName, bool onlySelectedFeatures=false, QProgressDialog *p=0) |
Perform an intersection on two input vector layers and write output to a new shape file. |
The QGis class provides vector overlay analysis functions.
Definition at line 37 of file qgsoverlayanalyzer.h.
bool QgsOverlayAnalyzer::intersection | ( | QgsVectorLayer * | layerA, |
QgsVectorLayer * | layerB, | ||
const QString & | shapefileName, | ||
bool | onlySelectedFeatures = false , |
||
QProgressDialog * | p = 0 |
||
) |
Perform an intersection on two input vector layers and write output to a new shape file.
layerA | input vector layer |
layerB | input vector layer |
shapefileName | path to the output shp |
onlySelectedFeatures | if true, only selected features are considered, else all the features |
p | progress dialog (or 0 if no progress dialog is to be shown) |
Definition at line 30 of file qgsoverlayanalyzer.cpp.