QGIS-Documentation icon indicating copy to clipboard operation
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

Open agiudiceandrea opened this issue 1 year ago • 1 comments

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 INPUT parameter of the "Basic statistics for fields" (qgis:basicstatisticsforfields) algorithm allows both types
  • the INPUT parameter of the "Buffer" (native:buffer) algorithm allows only spatial vector layer types

agiudiceandrea avatar Feb 09 '24 09:02 agiudiceandrea

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

DelazJ avatar Feb 18 '24 07:02 DelazJ