Skip to content

Commit a90be95

Browse files
committed
sip sync
1 parent 67d8935 commit a90be95

File tree

419 files changed

+5797
-4219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

419 files changed

+5797
-4219
lines changed

doc/news.t2t

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This is a minor release increment with the following new features:
6464
- Tweaks to label properties dialog.
6565
- Support for non-latin scripts for curved labels.
6666
- "Follow point" alignment for multiline labels.
67-
- Support overriden layer styles also in the composer legend.
67+
- Support overridden layer styles also in the composer legend.
6868
- Add scalebar sizing mode to fit a desired scalebar width.
6969
- Plugins can now create their own entries in the browser.
7070
- More uniform and predictable names for processing outputs.

python/analysis/interpolation/NormVecDecorator.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class NormVecDecorator : TriDecorator
3030
bool getTriangle( double x, double y, Point3D* p1 /Out/, Vector3D* v1 /Out/, Point3D* p2 /Out/, Vector3D* v2 /Out/, Point3D* p3 /Out/, Vector3D* v3 /Out/ );
3131
/** This function behaves similar to the one above. Additionally, the numbers of the points are returned (ptn1, ptn2, ptn3) as well as the pointStates of the triangle points (state1, state2, state3)
3232
* @note not available in Python bindings
33-
*/
33+
*/
3434
//bool getTriangle( double x, double y, Point3D* p1 /Out/, int* ptn1 /Out/, Vector3D* v1 /Out/, pointState* state1 /Out/, Point3D* p2 /Out/, int* ptn2 /Out/, Vector3D* v2 /Out/, pointState* state2 /Out/, Point3D* p3 /Out/, int* ptn3 /Out/, Vector3D* v3 /Out/, pointState* state3 /Out/);
3535
/** Returns the state of the point with the number 'pointno'*/
3636
pointState getState( int pointno ) const;

python/analysis/vector/qgsgeometryanalyzer.sip

+58-57
Original file line numberDiff line numberDiff line change
@@ -11,93 +11,94 @@ class QgsGeometryAnalyzer
1111
public:
1212

1313
/** Simplify vector layer using (a modified) Douglas-Peucker algorithm
14-
and write it to a new shape file
15-
@param layer input vector layer
16-
@param shapefileName path to the output shp
17-
@param tolerance (level of simplification)
18-
@param onlySelectedFeatures if true, only selected features are considered, else all the features
19-
@param p progress dialog (or 0 if no progress dialog is to be shown)
20-
*/
14+
* and write it to a new shape file
15+
* @param layer input vector layer
16+
* @param shapefileName path to the output shp
17+
* @param tolerance (level of simplification)
18+
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
19+
* @param p progress dialog (or 0 if no progress dialog is to be shown)
20+
*/
2121
bool simplify( QgsVectorLayer* layer, const QString& shapefileName, double tolerance,
2222
bool onlySelectedFeatures = false, QProgressDialog* p = 0 );
2323

2424
/** Calculate the true centroids, or 'center of mass' for a vector layer and
25-
write it to a new shape file
26-
@param layer input vector layer
27-
@param shapefileName path to the output shp
28-
@param onlySelectedFeatures if true, only selected features are considered, else all the features
29-
@param p progress dialog (or 0 if no progress dialog is to be shown)
30-
*/
25+
* write it to a new shape file
26+
* @param layer input vector layer
27+
* @param shapefileName path to the output shp
28+
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
29+
* @param p progress dialog (or 0 if no progress dialog is to be shown)
30+
*/
3131
bool centroids( QgsVectorLayer* layer, const QString& shapefileName,
3232
bool onlySelectedFeatures = false, QProgressDialog* p = 0 );
3333

3434
/** Create a polygon based on the extent of all (selected) features and write it to a new shape file
35-
@param layer input vector layer
36-
@param shapefileName path to the output shp
37-
@param onlySelectedFeatures if true, only selected features are considered, else all the features
38-
@param p progress dialog (or 0 if no progress dialog is to be shown)
39-
*/
35+
* @param layer input vector layer
36+
* @param shapefileName path to the output shp
37+
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
38+
* @param p progress dialog (or 0 if no progress dialog is to be shown)
39+
*/
4040
bool extent( QgsVectorLayer* layer, const QString& shapefileName, bool onlySelectedFeatures = false, QProgressDialog* p = 0 );
4141

4242
/** Create buffers for a vector layer and write it to a new shape file
43-
@param layer input vector layer
44-
@param shapefileName path to the output shp
45-
@param bufferDistance distance for buffering (if no buffer field is specified)
46-
@param onlySelectedFeatures if true, only selected features are considered, else all the features
47-
@param dissolve if true, merge all the buffers to a big multipolygon
48-
@param bufferDistanceField index of the attribute field that contains the buffer distance (or -1 if all features have the same buffer distance)
49-
@param p progress dialog (or 0 if no progress dialog is to be shown)
50-
*/
43+
* @param layer input vector layer
44+
* @param shapefileName path to the output shp
45+
* @param bufferDistance distance for buffering (if no buffer field is specified)
46+
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
47+
* @param dissolve if true, merge all the buffers to a big multipolygon
48+
* @param bufferDistanceField index of the attribute field that contains the buffer distance (or -1 if all features have the same buffer distance)
49+
* @param p progress dialog (or 0 if no progress dialog is to be shown)
50+
*/
5151
bool buffer( QgsVectorLayer* layer, const QString& shapefileName, double bufferDistance,
5252
bool onlySelectedFeatures = false, bool dissolve = false, int bufferDistanceField = -1, QProgressDialog* p = 0 );
5353

5454
/** Create convex hull(s) of a vector layer and write it to a new shape file
55-
@param layer 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 uniqueIdField index of the attribute field that contains the unique convex hull id (or -1 if
59-
all features have the same buffer distance)
60-
@param p progress dialog (or 0 if no progress dialog is to be shown)
61-
*/
55+
* @param layer 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 uniqueIdField index of the attribute field that contains the unique convex hull id (or -1 if
59+
* all features have the same buffer distance)
60+
* @param p progress dialog (or 0 if no progress dialog is to be shown)
61+
*/
6262
bool convexHull( QgsVectorLayer* layer, const QString& shapefileName, bool onlySelectedFeatures = false,
6363
int uniqueIdField = -1, QProgressDialog* p = 0 );
6464

6565
/** Dissolve a vector layer and write it to a new shape file
66-
@param layer input vector layer
67-
@param shapefileName path to the output shp
68-
@param onlySelectedFeatures if true, only selected features are considered, else all the features
69-
@param uniqueIdField index of the attribute field that contains the unique id to dissolve on (or -1 if
70-
all features should be dissolved together)
71-
@param p progress dialog (or 0 if no progress dialog is to be shown)
72-
*/
66+
* @param layer input vector layer
67+
* @param shapefileName path to the output shp
68+
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
69+
* @param uniqueIdField index of the attribute field that contains the unique id to dissolve on (or -1 if
70+
* all features should be dissolved together)
71+
* @param p progress dialog (or 0 if no progress dialog is to be shown)
72+
*/
7373
bool dissolve( QgsVectorLayer* layer, const QString& shapefileName, bool onlySelectedFeatures = false,
7474
int uniqueIdField = -1, QProgressDialog* p = 0 );
7575

7676
/** Creates an event layer (multipoint or multiline) by locating features from a (non-spatial) event table along the features of a line layer.
77-
Note that currently (until QgsGeometry supports m-values) the z-coordinate of the line layer is used for linear referencing
78-
@param lineLayer layer with the line geometry
79-
@param eventLayer layer with features and location field
80-
@param lineField join index in line layer
81-
@param eventField join index in event layer
82-
@param outputLayer name of output file (can be empty if a memory layer is used)
83-
@param outputFormat name of output format (can be empty if a memory provider is used to store the results)
84-
@param unlocatedFeatureIds out: ids of event features where linear referencing was not successful
85-
@param locationField1 attribute index of location field in event layer
86-
@param locationField2 attribute index of location end field (or -1 for point layer)
87-
@param offsetField attribute index for offset field. Negative offset value = offset to left side, positive value = offset to right side
88-
@param offsetScale factor to scale offset
89-
@param forceSingleGeometry force layer to single point/line type. Feature attributes are copied in case of multiple matches
90-
@param memoryProvider memory provider to write output to (can be 0 if output is written to a file)
91-
@param p progress dialog or 0 if no progress dialog should be shown
92-
*/
77+
* Note that currently (until QgsGeometry supports m-values) the z-coordinate of the line layer is used for linear referencing
78+
* @param lineLayer layer with the line geometry
79+
* @param eventLayer layer with features and location field
80+
* @param lineField join index in line layer
81+
* @param eventField join index in event layer
82+
* @param outputLayer name of output file (can be empty if a memory layer is used)
83+
* @param outputFormat name of output format (can be empty if a memory provider is used to store the results)
84+
* @param unlocatedFeatureIds out: ids of event features where linear referencing was not successful
85+
* @param locationField1 attribute index of location field in event layer
86+
* @param locationField2 attribute index of location end field (or -1 for point layer)
87+
* @param offsetField attribute index for offset field. Negative offset value = offset to left side, positive value = offset to right side
88+
* @param offsetScale factor to scale offset
89+
* @param forceSingleGeometry force layer to single point/line type. Feature attributes are copied in case of multiple matches
90+
* @param memoryProvider memory provider to write output to (can be 0 if output is written to a file)
91+
* @param p progress dialog or 0 if no progress dialog should be shown
92+
*/
9393
bool eventLayer( QgsVectorLayer* lineLayer, QgsVectorLayer* eventLayer, int lineField, int eventField, QSet<qint64> &unlocatedFeatureIds /Out/, const QString& outputLayer,
9494
const QString& outputFormat, int locationField1, int locationField2 = -1, int offsetField = -1, double offsetScale = 1.0,
9595
bool forceSingleGeometry = false, QgsVectorDataProvider* memoryProvider = 0, QProgressDialog* p = 0 );
9696

9797
/** Returns linear reference geometry as a multiline (or 0 if no match). Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)*/
9898
QgsGeometry* locateBetweenMeasures( double fromMeasure, double toMeasure, const QgsGeometry* lineGeom );
9999
/** Returns linear reference geometry. Unlike the PostGIS function, this method always returns multipoint or 0 if no match (not geometry collection).
100-
Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)*/
100+
* Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)
101+
*/
101102
QgsGeometry* locateAlongMeasure( double measure, const QgsGeometry* lineGeom );
102103

103104
};

0 commit comments

Comments
 (0)