mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
oops, forgot the sip file :-p: Python bindings for QgsOverlayAnalyzer (current only supports intersections)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12042 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
61d45be928
commit
7aa91b7117
26
python/analysis/qgsoverlayanalyzer.sip
Normal file
26
python/analysis/qgsoverlayanalyzer.sip
Normal file
@ -0,0 +1,26 @@
|
||||
/** polyline is just a list of points */
|
||||
typedef QMap<int, QgsField> QgsFieldMap;
|
||||
|
||||
/** \ingroup analysis
|
||||
* The QGis class provides vector geometry analysis functions
|
||||
*/
|
||||
|
||||
class QgsOverlayAnalyzer
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <qgsoverlayanalyzer.h>
|
||||
%End
|
||||
|
||||
public:
|
||||
|
||||
/**Perform an intersection on two input vector layers and write output to a new shape file
|
||||
*/
|
||||
bool intersection( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
|
||||
const QString& shapefileName, bool onlySelectedFeatures = false,
|
||||
QProgressDialog* p = 0 );
|
||||
|
||||
private:
|
||||
void combineFieldLists( QgsFieldMap fieldListA, QgsFieldMap fieldListB );
|
||||
void intersectFeature( QgsFeature& f, QgsVectorFileWriter* vfw, QgsVectorLayer* dp,
|
||||
QgsSpatialIndex* index );
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user