[OSM-dev] API Logic

Tom Hughes tom at compton.nu
Fri Jan 25 15:37:23 GMT 2008


In message <85B67797-8971-4352-98A9-13DFD451AE3E at asklater.com>
        SteveC <steve at asklater.com> wrote:

> * needs to know how to update the tile attribute when updating many
> nodes (no clue how that's done). Actually it doesn't need to as it can
> just copy the current tile as the node is being deleted not moved. But
> more generally it's probably a good idea if I figure out what's
> needed.

This is done automatically by a before_save callback in the GeoRecord
model that the Node models are derived from.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list