Skip to content

Please provide gpx sample #3

Description

@kikislater

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions