[OSM-dev] Ways on the new renderer... maybe usable after all!
Andy Robinson
Andy_J_Robinson at blueyonder.co.uk
Thu Jun 29 23:26:16 BST 2006
Nice work nick. Gets my support.
Cheers,
Andy
Andy Robinson
Andy_J_Robinson at blueyonder.co.uk
>-----Original Message-----
>From: dev-bounces at openstreetmap.org [mailto:dev-bounces at openstreetmap.org]
>On Behalf Of nick at hogweed.org
>Sent: 29 June 2006 23:10
>To: SteveC
>Cc: dev at openstreetmap.org
>Subject: [OSM-dev] Ways on the new renderer... maybe usable after all!
>
>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
>
>_______________________________________________
>dev mailing list
>dev at openstreetmap.org
>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
More information about the dev
mailing list