Handle Garmin GPX Conversion
@ptpt is already working on this.
Since Jun 22, 2021.
Assessment
This issue has not been assessed yet.
Description
User reports: “ERROR: mapillary_tools process not possible when parameter = --geotag_source gpx”.
User finds the issue is that the specific Garmin device's GPX seems to not match the format that mapillary_tools expects:
-
--geotag_source gpx is processing a gpx file.
-
But mapillary_tools is expecting a Unix, UTF8 file.
-
If the gpx file is created by Garmin GPS and processed on a Windows OS, the file is not expected format.
-
mapillary_tools is not validating the input file and not returning an Error Message I understand.
To convert the GPX file:
-
Replace CrLf (Windows) by Lf (Unix)
-
Remove 3x BOM header characters (Windows)
-
And - perhaps - convert to UTF8.
Now the GPX input file will be processed correctly
^^ following this, we should consider either a handler with the GPX process fails to then run this conversion, or a handler before attempting to process the GPX to run this conversion or see if the headers exist and should be removed, and if not in UTF8 to then convert it.
@ptpt could you take a look at this in a next update?
- Dominant language
- Python
- Stars
- 315
- Forks
- 145
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapillary/mapillary_tools
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
mapillary/mapillary_tools#827 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
mapillary/mapillary_tools#819 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mapillary/mapillary_tools#783 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
mapillary/mapillary_tools#748 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
mapillary/mapillary_tools#747 · 9 comments ·
All issues in mapillary/mapillary_tools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100