I have a point layer in a GeoPackage with this attribute table.
name id timestamp
A 1 23:03:2022T23:30:00
A 2
A 3
...
B 1 23:03:2022T23:30:00
B 2
B 3
...
What I need is populate the timestamp column adding 5 seconds to the previous value grouped by "name"
column and ordered by "id"
.
Is there a way to do this using the Field Calculator? I am messing around field calculator but I'm stuck.
id
start from 1 and continue sequentially for eachname
? Is this a shapefile (means timestamp is string) or a geopackage( or any format) accepting datetime field?