QGIS Algorithm provided by QGIS (native c++) Filter by geometry type (native:filterbygeometry). Filters features by geometry type. This algorithm filters features by their geometry type. Incoming features will be directed to different outputs based on whether they have a point, line or polygon geometry.
qgis_filterbygeometry(
INPUT = qgisprocess:::qgis_default_value(),
POINTS = qgisprocess:::qgis_default_value(),
LINES = qgisprocess:::qgis_default_value(),
POLYGONS = qgisprocess:::qgis_default_value(),
NO_GEOMETRY = qgisprocess:::qgis_default_value(),
...,
.complete_output = .complete_output_option(),
.quiet = .quiet_option(),
.messages = .message_option()
)source - Input layer. Path to a vector layer.
sink - Point features. Path for new vector layer.
sink - Line features. Path for new vector layer.
sink - Polygon features. Path for new vector layer.
sink - Features with no geometry. Path for new vector layer.
further parameters passed to qgisprocess::qgis_run_algorithm()
logical specifying if complete out of qgisprocess::qgis_run_algorithm() should be used (TRUE) or first output (most likely the main) should read (FALSE). Default value is TRUE.
logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.
logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.
LINES - outputVector - Line features
LINE_COUNT - outputNumber - Total count of line features
NO_GEOMETRY - outputVector - Features with no geometry
NO_GEOMETRY_COUNT - outputNumber - Total count of features without geometry
POINTS - outputVector - Point features
POINT_COUNT - outputNumber - Total count of point features
POLYGONS - outputVector - Polygon features
POLYGON_COUNT - outputNumber - Total count of polygon features