I am trying to use the TimeManager plugin in QGIS 3.16.1. I have successfully used this plugin in the past, but I'm running into some odd problems now that I can't figure out.
I have a geopackage layer with data that looks like this:
fid | statefp | countyfp | geoid | ... | date | count |
---|---|---|---|---|---|---|
1 | 36 | 001 | 36001 | ... | 2020-12-10 | 1 |
I'm adding this layer to TimeManager, selecting the date
column for the "Start time", leaving everything else at the defaults. After clicking the "Add" button, I change the "Time Format" for for the layer from "WILL BE INFERRED" to "%Y-%m-%d" to match the format of dates in the layer.
If I then click "OK" to close the settings window, then re-open it, the layer I just added is gone.
There are no errors, either displayed on screen or in the log.
It seems unhappy with the date
field in particular:
- If I select another field (e.g.
fid
) as the date field, the layer is added persistently. - If I then change the name of the date field back to
date
, it disappears. - Date-based filters applied directly to the layer work just fine (i.e., I can set the filter to
"date" > '2020-12-01'
and it filters as expected).
What's going on here?
datetime
, which I was able to resolve by just creating a virtual field of the appropriate type. But the temporal controller seems to be much less performant than the TimeManager plugin.