I use QGIS 3.10 with the graphical modeler and I'm facing an issue while creating new field in field calculator: it seems to be case insensitive thus it does not create the field I want.
Problem description follows:
- Using
Distance matrix
algorithm, a layer is created with a field namedDistance
(and the name of the field can't be chosen) - I want to rename this field to
distance
to be compliant with further processing tools (REST API expecting adistance
attribute) - I tried using Field Calculator to create a new field
distance
based on the value from theDistance
field - When I run the model, the new field isn't created
If I choose a different name for the new field (like foo
) everything runs fine. But how can I create 2 different fields with only case difference (then remove one of them).
I tried using Refactor fields
as an alternative, but if I don't know the list of attributes in input layer, I can't properly use it.
Am I missing something in the configuration or is it an issue I should report on qgis github ?