I'm working in QGIS and I have a point layer with two fields and I'm trying to compare the accuracy of the distances in feet. One field highlights the old calculated distances and another field highlights the new.

How do I select all the features in this point layer that have a plus or minus change of less than 50 (feet)?

Both fields are already in feet unit so I do not need any statements including conversions.

Does anyone know an expression to do this selection?

1 Answer 1


Using Select by Expression (CTRL+F3) you can get the desired result by writing:

 "NEW" >= "OLD" - 50 AND "NEW" <= "OLD" + 50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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