Is it possible by using Field Calculator to Update existing attribute field, ID field, which has many rows with value of 1.

In a way that values of ID field increase top to bottom by value of 1, starting with value 1.


  • Have you looked at the Sort and Number plugin?
    – johns
    Jun 22 at 15:03
  • Top to bottom of what? Drawing order? FID? Else?
    – katagena
    Jun 22 at 16:47
  • Top to bottom in attribute table of field called ID , first to the last feature. Jun 22 at 21:38
  • 1
    Based on what you have asked, I think you can just use the expression @row_number.
    – Ben W
    Jun 22 at 23:16


Your Answer

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

Browse other questions tagged or ask your own question.