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 support for point cloud expressions to Processing expression parameter
PR Description:
Description
With addition of filtering capabilities to point cloud algorithms, we need a userfriedly way to build point cloud expressions similarly to the QGIS native expressions.
To make it possible this pull-request adds a Type enum to QgsProcessingParameterExpression parameter with two options Qgis and PointCloud. If parameter has a PointCloud type, it will use new widget wrapper with GUI point cloud expression builder.
To maintain backward compatibility, by default expression parameter uses Qgis expression type.
The QgsPointCloudExpression class was extented with the new method to convert QGIS point cloud expressions to PDAL expressions.
All PDAL algorithms using expression filter were updated to use expression parameter instead of strings.
Commits tagged with [need-docs] or [FEATURE]
The text was updated successfully, but these errors were encountered:
The QgsPointCloudExpression class was extented with the new method to convert QGIS point cloud expressions to PDAL expressions.
@alexbruy What does this mean? When does one would use this feature? It does not mean that in QGIS (e.g. provider filter dialog or expression from PDAL alg) we can use PDAL-like expressions, right? As far as I could see, some of the examples in the PDAL docs do not pass in QGIS. Can you clarify, please? Thanks.
Request for documentation
From pull request qgis/QGIS#52730
Author: @alexbruy
QGIS version: 3.32
Add support for point cloud expressions to Processing expression parameter
PR Description:
Description
With addition of filtering capabilities to point cloud algorithms, we need a userfriedly way to build point cloud expressions similarly to the QGIS native expressions.
To make it possible this pull-request adds a
![2023-04-17-091207_1366x768_scrot](https://user-images.githubusercontent.com/776954/232438577-9d957691-6c89-4557-820f-d36e7408239e.png)
Type
enum toQgsProcessingParameterExpression
parameter with two optionsQgis
andPointCloud
. If parameter has aPointCloud
type, it will use new widget wrapper with GUI point cloud expression builder.To maintain backward compatibility, by default expression parameter uses
Qgis
expression type.The
QgsPointCloudExpression
class was extented with the new method to convert QGIS point cloud expressions to PDAL expressions.All PDAL algorithms using expression filter were updated to use expression parameter instead of strings.
Commits tagged with [need-docs] or [FEATURE]
The text was updated successfully, but these errors were encountered: