QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsOverlayAnalyzer Class Reference

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. More...
 

Detailed Description

The QGis class provides vector overlay analysis functions.

Member Function Documentation

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.

Parameters
layerAinput vector layer
layerBinput vector layer
shapefileNamepath to the output shp
onlySelectedFeaturesif true, only selected features are considered, else all the features
pprogress dialog (or 0 if no progress dialog is to be shown)

The documentation for this class was generated from the following files: