movingpandas / qgis-processing-trajectory

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

Day trajectories from point layer not working #16

Closed no1rabbit closed 5 months ago

no1rabbit commented 3 years ago

Hi Anita,

I'm having a problem with creating daily trajectories.
The error that comes up is: ValueError: Trajectory dataframe must have at least two rows! My points layer has a column for ID and timestamp and I have stipulated the timestamp format correctly according to my data. I have managed to create the normal 'Trajectories from point layer' just not the day trajectories. Any help will be most appreciated!! Thanks

anitagraser commented 3 years ago

The cause for this error is most likely that there are one or more days with fewer than two records. This issue has been fixed (i.e. trajectories with fewer than two records are discarded) in MovingPandas but not yet in Trajectools.

anitagraser commented 2 years ago

Will be fixed once #18 is implemented