Marcus Wolschon a écrit :
> What tool can be used to upload change(osc)-files?
> 
> Osmosis cannot upload them to the API and
> the wiki says bulkupload.pl/py both are not
> compatible with API 0.6 .

If it's a small file, try using curl :

CSID=$(curl -u user:password -o - -T new_changeset.osm 
http://api06.dev.openstreetmap.org/api/0.6/changeset/create)

curl -u user:password -o - -T your_file.osc 
http://api06.dev.openstreetmap.org/api/0.6/changeset/$CSID/upload

new_changeset.osm should lokk like :

<?xml version="1.0" encoding="UTF-8"?>
<osm version="0.6">
   <changeset>
     <tag k="created_by" v="curl"/>
     <tag k="comment" v="my diff"/>
   </changeset>
</osm>


-- 
Etienne

_______________________________________________
Imports mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/imports

Reply via email to