[OSM-dev] API 0.6 work required

Shaun McDonald shaun at shaunmcdonald.me.uk
Mon Sep 29 23:30:20 BST 2008


On 29 Sep 2008, at 18:48, Martijn van Oosterhout wrote:

> On Mon, Sep 29, 2008 at 6:27 PM, Shaun McDonald
> <shaun at shaunmcdonald.me.uk> wrote:
>> One of the problems I see with the migrations is that there is no
>> linkage between the changesets and the revisions of the nodes, ways  
>> and
>> relations. Is it simply a case of adding a changeset field to each of
>> the following tables: current_nodes, current_relations, current_ways,
>> nodes, relations, and ways? Then appropriate belongs_to and has_many
>> items would be added to the relevant classes.
>
> The current user field will get renamed to changeset_id. I thought
> that particular bit was already done, since it's just a bit of DB
> migration code.

From
http://trac.openstreetmap.org/browser/sites/rails_port_branches/api06/db/migrate/020_add_changesets.rb
It appears it hasn't been done yet.

Thanks for the extra information, I'll get it done in the next couple  
of days.

Shaun

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2433 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080929/4e3775f6/attachment.bin>


More information about the dev mailing list