[OSM-dev] Status of Database Server after 0.4 Upgrade: Fragile
steve at asklater.com
Mon May 14 01:54:40 BST 2007
Awsomeness. This worked. Map call should be now somewhat faster.
Needs to be done for the segs too.
Also talking to people it seems that the 500 errors have super
On 13 May 2007, at 06:37, John McKerrell wrote:
> Thanks for this Steve, good to know what's going on...
> On 12 May 2007, at 21:36, SteveC wrote:
>> So here's a braindump:
>> way tags. most of the api code is fairly fast but the api map call
>> does a sql request for every way to get its tags. it shouldn't,
>> someone needs to fix.
> I'm probably way off the mark here, but I'm not in the house much to
> try this out, but doesn't :include do something like this? Like on
> the way retrieval line:
> ways = Way.find(way_ids)
> If we simply added:
> ways = Way.find(way_ids, :include => [ :way_tag ] )
> Would that do it? With my little experience of rails I really don't
> have a clue, but from the bits of documentation I've seen on :include
> it does suggest that's what we need.
> dev mailing list
> dev at openstreetmap.org
SteveC | steve at asklater.com | http://www.asklater.com/steve/
More information about the dev