Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

GPX Upload does not check for filetype #4204

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

GPX Upload does not check for filetype #4204

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: p.weber[at]ucl.ac.uk
[Submitted to the original trac issue database at 8.10pm, Wednesday, 1st February 2012]

Ran a mapping party with newbie users.

One user was recording GPX tracks with OSM Tracker for Android. WHen it came to upload the tracks to OSM, the user managed to select some jpg's instead of the GPX files!

Unfortunately, OSM didnt complain that it was the wrong filetype at upload, but only at the processing stage failed with a generic XML Parser error.

Could you check on upload for file extensions, or if this is not doable, have a more descriptive error message on processing than a generic XML parser error ?

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 9.41pm, Wednesday, 1st February 2012]

Unfortunately I don't think the extension would be a reliable way of determining whether it was likely to be a valid GPS trace or not, especially given the wide variety of wrapper formats (gz. bz2, zip, etc) that we support.

@openstreetmap-trac
Copy link
Author

Author: mmd
[Added to the original trac issue at 5.08pm, Tuesday, 19th May 2020]

Issue still exists, moving to Github, and closing here.

openstreetmap/openstreetmap-website#2630

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant