#1 gpxsim: distance method creates malformed file

Geschlossen
vor 5 Jahren geöffnet von jwmartnet · 5 Kommentare
jwmartnet kommentierte vor 5 Jahren

tested output with gpx2png.pl and viking gps, neither accept GPX files created by gpxsim using -d, but no problem with files created using -x. gpx2png.pl says: "Invalid input data, no coordinates given minxtile=1000000 maxxtile=0 minytile=1000000 maxytile=0" viking says: "Unable to load malformed GPX file sim.gpx"

tested output with gpx2png.pl and viking gps, neither accept GPX files created by gpxsim using -d, but no problem with files created using -x. gpx2png.pl says: "Invalid input data, no coordinates given minxtile=1000000 maxxtile=0 minytile=1000000 maxytile=0" viking says: "Unable to load malformed GPX file sim.gpx"
irdvo kommentierte vor 5 Jahren
Besitzer

After checking the code, I have a question:

If you run gpxls on the original gpx-file, does it report multiple tracks, segments or routes ? If you run gpxls on the simplified gpx-file, does it report a different number of tracks, segments or routes (or error) ?

Thanks

After checking the code, I have a question: If you run gpxls on the original gpx-file, does it report multiple tracks, segments or routes ? If you run gpxls on the simplified gpx-file, does it report a different number of tracks, segments or routes (or error) ? Thanks
jwmartnet kommentierte vor 5 Jahren
Ersteller

This could be related to recent updates (Arch Linux). I convert Garmin .fit files to .tcx (using fittotcx) then to .gpx (with gpsbabel) and archive them. I just tried a .gpx from earlier this year and there were no problems. Re the malformed file, gpxls displays nothing at all for it. I'll investigate further and see if I can figure anything out.

This could be related to recent updates (Arch Linux). I convert Garmin .fit files to .tcx (using fittotcx) then to .gpx (with gpsbabel) and archive them. I just tried a .gpx from earlier this year and there were no problems. Re the malformed file, gpxls displays nothing at all for it. I'll investigate further and see if I can figure anything out.
jwmartnet kommentierte vor 5 Jahren
Ersteller

With this test file, -d values up to 5 work, -d values 6 and above dont: https://drive.google.com/open?id=1l_TGwPrARA-VKkmp45yVfY-Vf8ysCPhf My usage is to use a simplified GPX as input for generating a thumbnail image (the options for that aren't great unfortunately).

With this test file, -d values up to 5 work, -d values 6 and above dont: https://drive.google.com/open?id=1l_TGwPrARA-VKkmp45yVfY-Vf8ysCPhf My usage is to use a simplified GPX as input for generating a thumbnail image (the options for that aren't great unfortunately).
irdvo kommentierte vor 5 Jahren
Besitzer

I think I fixed the malformed file.

Can you tell me what the problem is with the options ?

I think I fixed the malformed file. Can you tell me what the problem is with the options ?
jwmartnet kommentierte vor 5 Jahren
Ersteller

Thanks yes that seems to work.

Sorry, my other comment was misleading. I didn't mean the command line options for gpxsim. I meant the tools for generating images from GPX files aren't great (they don't seem to be designed with thumbnail generation in mind).

Thanks yes that seems to work. Sorry, my other comment was misleading. I didn't mean the command line options for gpxsim. I meant the tools for generating images from GPX files aren't great (they don't seem to be designed with thumbnail generation in mind).
irdvo hat vor 4 Jahren geschlossen
Anmelden, um an der Diskussion teilzunehmen.
Kein Label
Kein Meilenstein
Niemand zuständig
2 Beteiligte
Laden…
Abbrechen
Speichern
Hier gibt es bis jetzt noch keinen Inhalt.