Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide gpx sample #3

Open
kikislater opened this issue Jan 24, 2024 · 0 comments
Open

Please provide gpx sample #3

kikislater opened this issue Jan 24, 2024 · 0 comments

Comments

@kikislater
Copy link

kikislater commented Jan 24, 2024

It seems that there is an issue with time parsing

For example, in metadata:

<time>2023-04-27T15:17:02+01:00</time>

and

        <time>2023-03-08T11:15:36Z</time>

in trkpt

generate an error =>

WARNING    Traceback (most recent call last):
              File "/home/sylvain/.local/share/QGIS/QGIS3/profiles/sylvain/python/plugins/Video_UAV_Tracker/NewProject.py", line 294, in SelectVideoGPX
              self.ParseGpx(self.GPXfile)
              File "/home/sylvain/.local/share/QGIS/QGIS3/profiles/sylvain/python/plugins/Video_UAV_Tracker/NewProject.py", line 385, in ParseGpx
              st_date = datetime.datetime.strptime(GPXList[0][1][3],'%Y-%m-%dT%H:%M:%S')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
             TypeError: strptime() argument 1 must be str, not int

Which format should be ok ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant