[OSM-dev] Uploading traces to the API

David Dean ddean at ieee.org
Tue Nov 13 10:34:50 GMT 2007


Can I get some help in uploading some gpx files through the api. All I
seem to get is a non-helpful error message.

curl -u XXXXX:XXXX -F
gpx_file=@/home/david/docs/SDCARDMirror/NaviPOWM/Save/2007111100.txt
-F description=2007111100.txt -F tagstring="navipowm" -F public=1
http://openstreetmap.org/api/0.5/gpx/create
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
  <h1>Application error</h1>
  <p>Change this error message for exceptions thrown outside of an
action (like in Dispatcher setups or broken Ruby code) in
public/500.html</p>
</body>
</html>

What am I doing wrong?

- David
-- 
David Dean
PhD Research Student, RP-SAIVT, QUT
(me) http://www.davidbdean.com
(saivt) http://www.bee.qut.edu.au/projects/saivt/
(post) GPO Box 2434, Brisbane, Australia 4001
(p) +61 7 3138 1414 (m) 0407 151 912 (f) +61 7 3138 1516
(CRICOS) 00213J




More information about the dev mailing list