[OSM-dev] Strange and inconsistent behaviour on the dev server

nick at hogweed.org nick at hogweed.org
Thu May 25 21:29:13 BST 2006


Am getting some very, very strange and inconsistent behaviour on the dev 
server with the new renderer.

I am trying to get Weybridge to render properly on the dev server. 

If I do:

http://nick.dev.openstreetmap.org/ruby/renderer.rb?
bbox=-0.5,51.30,-0.4,51.40&width=400&height=320

I get the right bounding box and area displayed, but tags are not applied. The 
Weybridge area is using exactly the same tag types (the 'old' tags using 
'class') as the Haslemere/Petersfield area, which *does* show up.

Yet when I use a slightly-modified version of the same 
script, /var/www/nick/ruby/weybridge.rb (this version runs directly from the 
command-line rather than through CGI) I get the correct result which you can 
see at:

http://nick.dev.openstreetmap.org/images/png6.png

The bounding box, width and height parameters are exactly the same!!!!

Is this related to the strange API behaviour on the dev box which was reported 
during April? If so, is there a solution besides using something other than 
the dev server?

This is my first ruby program but I can't see anything really silly I've 
done... well nothing that would explain this inconsistency, anyway :-)

Thanks,
Nick




More information about the dev mailing list