On Feb 10, 2008 10:51 PM, Lukasz Stelmach <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://svana.org/kleptog/ _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

