@@ -50,52 +50,54 @@ class ANALYSIS_EXPORT QgsOverlayAnalyzer
50
50
const QString& shapefileName, bool onlySelectedFeatures = false , \
51
51
QProgressDialog* p = 0 );
52
52
53
- // /**Perform a union of two input vector layers and write output to a new shape file
54
- // @param layerA input vector layer
55
- // @param layerB input vector layer
56
- // @param shapefileName path to the output shp
57
- // @param onlySelectedFeatures if true, only selected features are considered, else all the features
58
- // @param p progress dialog (or 0 if no progress dialog is to be shown)
59
- // @note: added in version 1.4*/
60
- // bool combine( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
61
- // const QString& shapefileName, bool onlySelectedFeatures = false,
62
- // QProgressDialog* p = 0 );
63
- //
64
- // /**Clip a vector layer based on the boundary of another vector layer and
65
- // write output to a new shape file
66
- // @param layerA input vector layer
67
- // @param layerB input vector layer
68
- // @param shapefileName path to the output shp
69
- // @param onlySelectedFeatures if true, only selected features are considered, else all the features
70
- // @param p progress dialog (or 0 if no progress dialog is to be shown)
71
- // @note: added in version 1.4*/
72
- // bool clip( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
73
- // const QString& shapefileName, bool onlySelectedFeatures = false,
74
- // QProgressDialog* p = 0 );
75
- //
76
- // /**Difference a vector layer based on the geometries of another vector layer
77
- // and write the output to a new shape file
78
- // @param layerA input vector layer
79
- // @param layerB input vector layer
80
- // @param shapefileName path to the output shp
81
- // @param onlySelectedFeatures if true, only selected features are considered, else all the features
82
- // @param p progress dialog (or 0 if no progress dialog is to be shown)
83
- // @note: added in version 1.4*/
84
- // bool difference( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
85
- // const QString& shapefileName, bool onlySelectedFeatures = false,
86
- // QProgressDialog* p = 0 );
87
- //
88
- // /**Intersect two vector layers and write the geometries of each layer that
89
- // do not intersect with the other layer to a new shape file (Symmetrical difference)
90
- // @param layerA input vector layer
91
- // @param layerB input vector layer
92
- // @param shapefileName path to the output shp
93
- // @param onlySelectedFeatures if true, only selected features are considered, else all the features
94
- // @param p progress dialog (or 0 if no progress dialog is to be shown)
95
- // @note: added in version 1.4*/
96
- // bool symDifference( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
97
- // const QString& shapefileName, bool onlySelectedFeatures = false,
98
- // QProgressDialog* p = 0 );
53
+ #if 0
54
+ /**Perform a union of two input vector layers and write output to a new shape file
55
+ @param layerA input vector layer
56
+ @param layerB input vector layer
57
+ @param shapefileName path to the output shp
58
+ @param onlySelectedFeatures if true, only selected features are considered, else all the features
59
+ @param p progress dialog (or 0 if no progress dialog is to be shown)
60
+ @note: added in version 1.4*/
61
+ bool combine( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
62
+ const QString& shapefileName, bool onlySelectedFeatures = false,
63
+ QProgressDialog* p = 0 );
64
+
65
+ /**Clip a vector layer based on the boundary of another vector layer and
66
+ write output to a new shape file
67
+ @param layerA input vector layer
68
+ @param layerB input vector layer
69
+ @param shapefileName path to the output shp
70
+ @param onlySelectedFeatures if true, only selected features are considered, else all the features
71
+ @param p progress dialog (or 0 if no progress dialog is to be shown)
72
+ @note: added in version 1.4*/
73
+ bool clip( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
74
+ const QString& shapefileName, bool onlySelectedFeatures = false,
75
+ QProgressDialog* p = 0 );
76
+
77
+ /**Difference a vector layer based on the geometries of another vector layer
78
+ and write the output to a new shape file
79
+ @param layerA input vector layer
80
+ @param layerB input vector layer
81
+ @param shapefileName path to the output shp
82
+ @param onlySelectedFeatures if true, only selected features are considered, else all the features
83
+ @param p progress dialog (or 0 if no progress dialog is to be shown)
84
+ @note: added in version 1.4*/
85
+ bool difference( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
86
+ const QString& shapefileName, bool onlySelectedFeatures = false,
87
+ QProgressDialog* p = 0 );
88
+
89
+ /**Intersect two vector layers and write the geometries of each layer that
90
+ do not intersect with the other layer to a new shape file (Symmetrical difference)
91
+ @param layerA input vector layer
92
+ @param layerB input vector layer
93
+ @param shapefileName path to the output shp
94
+ @param onlySelectedFeatures if true, only selected features are considered, else all the features
95
+ @param p progress dialog (or 0 if no progress dialog is to be shown)
96
+ @note: added in version 1.4*/
97
+ bool symDifference( QgsVectorLayer* layerA, QgsVectorLayer* layerB,
98
+ const QString& shapefileName, bool onlySelectedFeatures = false,
99
+ QProgressDialog* p = 0 );
100
+ #endif
99
101
100
102
private:
101
103
0 commit comments