[Imports] what tool to upload osc-files?

Frederik Ramm frederik at remote.org
Wed Nov 4 18:23:25 GMT 2009


Hi,

Marcus Wolschon wrote:
> What tool can be used to upload change(osc)-files?

If you're planning on plastering the planet with things like

http://www.openstreetmap.org/browse/relation/282430

then please don't - OSM has enough imported rubbish already.

Else you can use the tools from 
svn.openstreetmap.org/application/utils/revert:

perl changeset.pl create
12345
perl changeset.pl upload 12345 < myfile.osc
perl changeset.pl close 12345

Note that individual objects in your osc file need to have the 
"changeset='12345'" attribute, with 12345 being the number of the 
changeset. The above changeset.pl utility will replace any changeset 
attribute by the correct number so you may create a file that has only 
"changeset='1'" or so.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the Imports mailing list