Closed slomo closed 13 years ago
decided to implement our own.
basically it does this: {"version":0.6,"generator":"xappy.js", "xapi":{"uri":"XXX","planetDate":"XXX","copyright":"XXX","instance":"XXX"},
"elements": [{"id":1,"lat":9.427,"lon":51.415,"version":1,"uid":291857,"user":"sladda","changesetId":123456,"timestamp":"2011-05-26T16:47:48.000Z","tags":[],"type":"node"}, {"type":"way", ....}, {"type":"relation",...} ]}
someone who likes wiki-editing should write this to the osm-wiki now ;)
Could you please write a bit of documentation for the github wiki? I can edit the osm-wiki afterwards. There should be an example for every typ of object.
Query: which timestamp format should we use?! i'd prefer unix timestamp as it is easy to "read".
"changeset" or "changesetId" - who made the move to changesetID? in the Xapi-documentation it's 'changeset' and it would be stupid to modify all the js-objects on their way to the json-output.
i move for a renaming of changesetid to changeset
Sounds like an argument. I think it's changesetId at the moment because the database column is changeset_id and it fits better to what the attribute real is. It's a reference to something not the actual changeset. But we don't care about changesets so feel free to rename the attribute.
Thx for the documentation!
Dario would you like to announce and discuss the json format on the osm-dev mailinglist? dev@openstreetmap.org is the place to be ;)
ok
this issue will be closed in favor of #85
This directly relates to #72. The task is to implment a common standard