1

In the QGIS field calculator you can choose the Fields you want to add to your field calculator expression.

I wonder why there is also "NULL" listed as one option?

Choosing NULL as a value makes sense to me (for example 'field1 is null') but choosing NULL as a column identifier does not make sense to me.

Am i missing something or is this just a bug?

enter image description here

1

It's a bug. enter image description here Every layer has NULL in it's 3rd field.

And it looks like an old bug that hasn't been resolved yet, even in QGIS3

  • I have a pull request ready for this soon for QGIS 3.4 so it will now be a button and no longer in the field list. – Nathan W Oct 22 '18 at 2:23
  • @NathanW off topic but what's the intended use for this? – HDunn Oct 22 '18 at 11:57
  • Just inserts the value NULL into the expression really that is all. – Nathan W Oct 23 '18 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.