qgis / QGIS-Documentation

QGIS Documentation
https://docs.qgis.org/latest
478 stars 700 forks source link

[processing] Add a bunch of mixing field types to the {add field,field calculator} algorithms (Request in QGIS) #9261

Closed qgis-bot closed 2 months ago

qgis-bot commented 2 months ago

Request for documentation

From pull request qgis/QGIS#47062 Author: @nirvn QGIS version: 3.24

[processing] Add a bunch of mixing field types to the {add field,field calculator} algorithms

PR Description:

Description

This PR adds a bunch of missing field types to processing's add field to the attributes table algorithm. Missing types goes from the most basic (boolean) to the widely adopted (datetime) and exciting ones (arrays).

image

Super, super helpful as part of models.

Edit: OK, this is a rabbit hole :) while doing this field type cleanup, noticed field calculator alg. also is missing a bunch of types. Fixed:

image

QGIS 4.0 TODO: harmonize the value ordering across those two algs (possibly through creating a field type parameter)

Commits tagged with [need-docs] or [FEATURE]