I want to upload many gpx files in one zip archive. After uploading I get following message on my email: It looks like your GPX file 2010.zip with the description 2010, Krasnoyarsk kr and the following tags: automobile failed to import. Here's the error: Generic XML parse error XML parser at line 1 column 2 I checked all gpx files inside archive with xmllint, and sure that they are parsable. Also I've opened each of them in josm, and they opened and displayed ok. How can i know which gpx file in uploaded archive is errorneous ? asked 09 Feb '14, 11:40 tupka |
Did you use it on http://www.openstreetmap.org/trace/create ?
I don't think it accepts
.zip
files.Yes, I use this interface and it accepts zip files - I have succeffully uploaded and imported a couple of archives in the past.
I also used .zip but this was a year ago or so.
What about zipping just the half of the GPX files, and then the next half of the remaining tracks.... so you have somekind of 'binary search' that guides you to the .GPX that causes the problems?
Yes I think it is possible to find out bad file this way. But it is not convinient as I have many gpx archives in addition to 2010.zip which are produce the same bad result on import.
I created a ticket here, maybe there is a bug in site engine.
I doubt a "bug in the engine". I upload now and then gzipped gpx files and never got such an error. After having found the erroneous file(s) using the method iii suggested you should be able to found other erroneous files more easily.