You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add QgsGeometry method to densify by distance
- Fix bug in processing algorithm which resulted in duplicate
vertices and incorrectly spaced extra vertices
Copy file name to clipboardexpand all lines: python/plugins/processing/algs/help/qgis.yaml
+6-2
Original file line number
Diff line number
Diff line change
@@ -139,9 +139,13 @@ qgis:densifygeometries:
139
139
The number of new vertices to add to each feature geometry is specified as an input parameter.
140
140
141
141
qgis:densifygeometriesgivenaninterval:
142
-
This algorithm takes a polygon or line layer and generates a new one in which the geometries have a larger number of vertices than the original one.
142
+
This algorithm takes a polygon or line layer and generates a new one in which the geometries have a larger number of vertices than the original one. The geometries are densified by adding regularly placed extra nodes inside each segment so that the maximum distance between any two nodes does not exceed the specified distance.
143
+
144
+
E.g. specifying a distance 3 would cause the segment [0 0] -> [10 0] to be converted to [0 0] -> [2.5 0] -> [5 0] -> [7.5 0] -> [10 0], since 3 extra nodes are required on the segment and spacing these at 2.5 increments allows them to be evenly spaced over the segment.
145
+
146
+
If the geometries have z or m values present then these will be linearly interpolated at the added nodes.
143
147
144
-
The number of new vertices depends on the length of the geometry, and is specified as a distance between them. The distance is expressed in the same units used by the layer CRS.
148
+
The distance is expressed in the same units used by the layer CRS.
145
149
146
150
qgis:difference: >
147
151
This algorithm extracts features from the Input layer that fall outside, or partially overlap, features in the Difference layer. Input layer features that partially overlap the difference layer feature(s) are split along the boundary of the difference layer feature(s) and only the portions outside the difference layer features are retained.
0 commit comments