Handle Garmin GPX Conversion
@ptpt ci sta già lavorando.
Dal 22/6/2021.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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?
- Lingua principale
- Python
- Stelle
- 315
- Fork
- 145
- Merge medio
- 3g 10h
- PR unite (30g)
- 2
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mapillary/mapillary_tools
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
mapillary/mapillary_tools#827 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
mapillary/mapillary_tools#819 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
mapillary/mapillary_tools#783 · 3 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
mapillary/mapillary_tools#748 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
mapillary/mapillary_tools#747 · 9 commenti ·
Tutte le issue di mapillary/mapillary_tools
Issue simili
-
documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
simonw/sqlite-utils#872 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100