NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

tupka
16112
accept rate: 0%

Did you use it on http://www.openstreetmap.org/trace/create ?

I don't think it accepts .zip files.

(09 Feb '14, 13:06) jgpacker
2

Yes, I use this interface and it accepts zip files - I have succeffully uploaded and imported a couple of archives in the past.

(09 Feb '14, 13:23) tupka
2

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?

(09 Feb '14, 17:23) iii

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.

(11 Feb '14, 02:58) tupka

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.

(11 Feb '14, 04:29) malenki

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×255
×196
×117
×6

question asked: 09 Feb '14, 11:40

question was seen: 6,832 times

last updated: 11 Feb '14, 04:29

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum