Handle Garmin GPX Conversion

Aperta
#416 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapillary/mapillary_tools

Tutte le issue di mapillary/mapillary_tools

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.