[OSM-dev] API Logic
Richard Fairhurst
richard at systemeD.net
Fri Jan 25 16:56:56 GMT 2008
SteveC wrote:
> Frankly I couldn't care less, but Richard will scream if the
> function is slow.
You can read my mind....
> But again for the updates and deletions I can just copy the tile
> attribute from the existing nodes and use that when creating the
> OldNode's. It's only when mass creating new ones that it matters,
> and I haven't got to that yet.
...but in fact "legacy" amf_controller.rb doesn't create nodes en
masse, it does them one by one, so there shouldn't be a loss in
performance:
http://trac.openstreetmap.org/browser/sites/rails_port/app/
controllers/amf_controller.rb#L327
cheers
Richard
More information about the dev
mailing list