[OSM-dev] Transparency defintely works!; wms.rbx compositer problems

nick at hogweed.org nick at hogweed.org
Thu May 18 23:06:55 BST 2006


Hello everyone,

Just tried out Mikel's compositer (wms.rbx). It works with the existing 
streets and gpx layers, but I get an internal server error when I try and add 
in my layers (osm.php and srtm.php).

Details (from Apache log):

[Thu May 18 21:53:27 2006] [error] 
mod_ruby: /usr/lib/ruby/1.8/net/http.rb:562:in `initialize': Connection 
refused - connect(2) (Errno::ECONNREFUSED)
[Thu May 18 21:53:27 2006] [error] mod_ruby:   
from /var/www/nick/ruby/wmsmod.rbx:85:in `join'
[Thu May 18 21:53:27 2006] [error] mod_ruby:   
from /var/www/nick/ruby/wmsmod.rbx:85
[Thu May 18 21:53:27 2006] [error] mod_ruby:   
from /var/www/nick/ruby/wmsmod.rbx:85
[Thu May 18 21:53:27 2006] [error] mod_ruby:   
from /usr/lib/ruby/1.8/apache/ruby-run.rb:53:in `handler'

There must be some sort of permission error, but what I'm not sure. Anyone got 
any ideas?

My modified version of the compositer (wmsmod.rbx) has been added to 
Subversion under the freemap directory and is requestable at

http://nick.dev.openstreetmap.org/ruby/wmsmod.rbx

On another note, transparency definitely *has* been set in osm.php and 
srtm.php now. Look at 

http://nick.dev.openstreetmap.org/blah.html

This contains images generated by osm.php and srtm.php overlaid on each other 
and also on a web page with a green background which shows through. Might be 
worth trying mapserver again with these two? (I corrected a slight bug)

Nick




More information about the dev mailing list