QGIS-Documentation
QGIS-Documentation copied to clipboard
[Processing] In the parameter's type column for vector layer it is not specified if a no-geometry layer is allowed
Description
Some processing algorithms have input vector layers parameters which allows to specify also a table-only / no-geometry / no-spatial layer. Other ones don't.
For both such different type of vector layers parameters (only spatial vector layer allowed or spatial and no-spatial vector layer allowed) the type is always indicated as [vector: any], so it is not possible to know if such vector layer parameter allows to specify only a spatial vector layer or either a spatial or a no-spatial vector layer.
For example:
- the
INPUTparameter of the "Basic statistics for fields" (qgis:basicstatisticsforfields) algorithm allows both types - the
INPUTparameter of the "Buffer" (native:buffer) algorithm allows only spatial vector layer types
What about:
- rename
[table]used for algs taking no geometry into[vector: table] - use
[vector: geometry]or[vector: spatial]when it takes any type of geometry - keep
[vector: any]when it takes both geometric and geometryless vector