[OSM-talk] User umehlig and some really nasty edits

Martijn van Oosterhout kleptog at gmail.com
Mon Feb 11 08:30:44 GMT 2008


On Feb 10, 2008 10:51 PM, Lukasz Stelmach <stlman at poczta.fm> wrote:
> All right I confessssss. I have done something like that to the node
> 300 a while ago. But while you are considering some solutions to
> this problem allow me to explain myself. I tried to find out how to
> create and upload osm file by hand (i like vi that myuch ;) But
> there is no single word written here
> http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5
> on how to obtain or create new id. It is described how to create an
> object but not how to choose an id for it.

As far as I can tell it says it right here:
http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.5#Basic_Methods_for_Object_Access_and_Manipulation

To create you use PUT and it returns an ID.

There are several tools in SVN to upload files directly and library to
programmatically create/modify/delete objects in the database, why are
you reinventing the wheel?

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list