[Tilecache] self referencing / combine layers from different servers
Ziegler Stefan
Stefan.Ziegler at bd.so.ch
Thu Feb 7 16:22:21 EST 2008
Hi
I'm having fun with tilecaching but some problems appear: since our
aerial photographs are provided by a mapserver wms and the streets by a
geoserver wms, i'd like to combine the two in one wms layer. So I tried
to define two layers ("ortho" and "streets") in tilecache.cfg. A third
layer definition looks like this:
[orthostreets]
type=WMSLayer
layers=ortho,streets
url=http://localhost/cgi-bin/tilecache.cgi
extension=png
extent_type=loose
srs=EPSG:21781
maxResolution: 273.43481640624987
bbox=590000.0,213000.0,647000.0,263000.0
But I get an error:
An error occurred: Did not get image data back. (Adjust HIDE_ALL for
more detail.)
File "C:\ms4w\Apache\cgi-bin\TileCache\Service.py", line 525, in
cgiHandler
format, image = service.dispatchRequest( params, path_info,
req_method, host )
File "C:\ms4w\Apache\cgi-bin\TileCache\Service.py", line 443, in
dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "C:\ms4w\Apache\cgi-bin\TileCache\Service.py", line 401, in
renderTile
data = layer.render(tile)
File "C:\ms4w\Apache\cgi-bin\TileCache\Layer.py", line 253, in render
return self.renderTile(tile)
File "C:\ms4w\Apache\cgi-bin\TileCache\Layer.py", line 297, in
renderTile
tile.data, response = wms.fetch()
File "C:\ms4w\Apache\cgi-bin\TileCache\Client.py", line 53, in fetch
raise Exception("Did not get image data back. (Adjust HIDE_ALL for
more detail.)")
Any ideas? I guess that it's not possible to combine to images from
different server because that would require some image manipulating
abilities? Thanks for any help.
Regards.
Stefan
Mit freundlichem Gruss
Stefan Ziegler
Leiter Aufsicht
Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
Rötistrasse 4
4501 Solothurn
Telefon 032 627 75 96
Telefax 032 627 75 98
stefan.ziegler at bd.so.ch
http://www.so.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080207/5a26db15/attachment.html
More information about the Tilecache
mailing list