movingpandas / qgis-processing-trajectory

Trajectory tools for the QGIS Processing toolbox
GNU General Public License v3.0
45 stars 16 forks source link

Timestamp format #15

Closed iqnaul closed 2 years ago

iqnaul commented 3 years ago

Hi @anitagraser I initially have timestamp on my trajectory data in this format 'yyyy-mm-dd hh:mm:ss.ss+00' however when running the "Trajectories from Point Layer" it always failed and saying that the timestamp is incorrect. I tried to create a new field that contains on the time in this format 'hh:mm:ss" and put '%H:%M:%S' on the parameter but it returned another error that mentioned ValueError: time data '-01-04 1' does not match format '%H:%M:%S'

Can help on this?

Thank you

anitagraser commented 3 years ago

Try yyyy-mm-dd hh:mm:ss instead. The decimal seconds and or time zone information is likely the source of the issue.