Case:
I export an bbox containing some features from the OSM database using the api. Now I want to push those features as new features to another database, OpenAviationMap, running the same API. That means that all the id's in the OSM XML are invalid for the OpenAviationMap database.

What I'm wondering: What transformations would i have to do with an XML file from OSM to upload it to another database running rails_port. I've understood i have to create unique negative ids for each object in the XML, but what about version, changeset date and all those other attributes.
What are the correct attributes for data that's "new" to a database?

Note: I want to upload the "new" data using JOSM. Right now, if I try it complains that I'm trying to modify objects that don't exist in my database.

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

Reply via email to