[OSM-dev] Re: Ways on the new renderer... maybe usable after all!
SteveC
steve at asklater.com
Mon Jul 3 23:40:25 BST 2006
Yeah will deploy when the new db code is complete (few days hopefully)
* @ 29/06/06 11:09:51 PM nick at hogweed.org wrote:
> Hello Steve (and all on dev),
>
> Just occurred to me tonight that when I discounted rendering ways with the
> new renderer due to speed issues with the SQL, I was using my original PHP
> code. I realised I hadn't tried it in Ruby... up until tonight.
>
> So I've tweaked renderer.rb to fetch ways and apply way tags to the
> constituent segments. While there is a slight slowdown, it's not too bad. For
> instance, the renderer will render the way-rich tile with bbox
> -0.75,51.02,-0.7,51.07 in 2.6 seconds if ways aren't fetched from the
> database, against 3.7 if ways are fetched and rendered. Other bboxes give
> similar time ratios, typically 3:4 no ways:ways.
>
> Even though there's a slight speed hit, I'm wondering whether we should use my
> latest version (with ways enabled) as practically everyone is creating and
> tagging ways rather than segments now so the rendered map will be very much
> more full-featured with roads and other ways rendered correctly.
>
> Steve - the new version of the script is
> at /var/www/nick/ruby/renderer.rb.WAYS when you have a chance to test :-)
>
> Have also implemented Tom's IE fix in index.rhtml.
>
> Nick
have fun,
SteveC steve at asklater.com http://www.asklater.com/steve/
More information about the dev
mailing list