[Spectral profile sources] name option not used in attibute table

Issue #1313 open
Fabian Thiel created an issue

I am not sure if this is actually supposed to work like this: But I assumed that the naming option in the spectral profile sources is used to populate the name field in the attribute table?

Tooltip shows:

#Box version
Version 3.10.0.20220401T124144.develop c7d679b
#QGIS version
3.24.1-Tisler
#QGIS code revision
5709b82461
#Qt version
5.12.8
#Python version
3.8.10
#GDAL/OGR version
3.0.4
#PROJ version
6.3.1
#EPSG Registry database version
v9.8.6 (2020-01-22)
#Compiled against GEOS
3.8.0-CAPI-1.13.1
#Running against GEOS
3.8.0-CAPI-1.13.1 
#OS version
Ubuntu 20.04.4 LTS

Comments (6)

  1. Benjamin Jakimow

    Works if you express it as string → ‘AA’ instead AA. Maybe this wrapping can be done automatically.

  2. Benjamin Jakimow

    As in QGIS, this widget expects that strings are wrapped in '<string>' and field names by "<field>". Some widgets provide an automatic corrects that replaces missing ““ to correct expression references on fields. It is questionable if we should introduce something similar for none-field referring inputs.

    For example, if the input expression for a string field NAME is MY_NAME, it could be changed to 'MY_NAME' to be a valid QGIS expression that returns a string.

  3. Log in to comment