|
QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
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=nullptr) |
| Perform an intersection on two input vector layers and write output to a new shape file. More... | |
The QGis class provides vector overlay analysis functions.
Definition at line 36 of file qgsoverlayanalyzer.h.
| bool QgsOverlayAnalyzer::intersection | ( | QgsVectorLayer * | layerA, |
| QgsVectorLayer * | layerB, | ||
| const QString & | shapefileName, | ||
| bool | onlySelectedFeatures = false, |
||
| QProgressDialog * | p = nullptr |
||
| ) |
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.
1.8.13