This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

GPX Import failure of files generated by OsmAnd

0

Hello,

When trying to upload traces (gpx files) generated by OsmAnd to OpenStreetMap.org I get GPX Import failure emails with error messages like:

  • Error: Namespace prefix osmand on speed is not defined
  • Error: Namespace prefix osmand on color is not defined

It seems that OsmAnd have changed their format recently with extensions like:

  • < extensions>< osmand:speed>
  • < extensions>< osmand:color>

I can get rid of the problematic lines with cat file.gpx | grep -v -e "osmand" > file2.gpx, but I would prefer to get this solved via settings in OsmAnd or in the upload mechanism of OpenStreetMap.org.

Any ideas?

Thanks.

asked 10 Feb '21, 20:41

Nachtspazz's gravatar image

Nachtspazz
1856717
accept rate: 0%

I don't use OsmAnd for direct upload, but this sounds like it might be a bug to me? If so, you might get a better response if you raise an issue on the project GitHub.

(10 Feb '21, 21:20) InsertUser

Thanks. I guess it's a feature not a bug. But I would like to find out how to switch it off again.

(10 Feb '21, 21:56) Nachtspazz

Source code available on GitHub .