I would like to write a sequence of numbers of lines that goes from 1 to 90 and restart on 1 again.
For example
1
2
3
1
2
3
1
2
3
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI would like to write a sequence of numbers of lines that goes from 1 to 90 and restart on 1 again.
For example
1
2
3
1
2
3
1
2
3
You may use this expression in your field calculator.
if( @row_number % 90=0,90,@row_number % 90)