<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;">
<title>Scalix message content</title>
<style type="text/css">
<!--
.Normal { text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal; font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
-->
</style>
</head>
<body>
<div class="Normal"><span style='font-size: 10pt; '>Hi</span><br><span style='font-size: 10pt; '>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:</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>[orthostreets]</span><br><span style='font-size: 10pt; '>type=WMSLayer</span><br><span style='font-size: 10pt; '>layers=ortho,streets</span><br><span style='font-size: 10pt; '>url=http://localhost/cgi-bin/tilecache.cgi</span><br><span style='font-size: 10pt; '>extension=png</span><br><span style='font-size: 10pt; '>extent_type=loose</span><br><span style='font-size: 10pt; '>srs=EPSG:21781</span><br><span style='font-size: 10pt; '>maxResolution:
273.43481640624987</span><br><span style='font-size: 10pt; '>bbox=590000.0,213000.0,647000.0,263000.0</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>But I get an
error:</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>An error occurred: Did not
get image data back. (Adjust HIDE_ALL for more
detail.)</span><br><span style='font-size: 10pt; '> File
"C:\ms4w\Apache\cgi-bin\TileCache\Service.py", line 525, in
cgiHandler</span><br><span style='font-size: 10pt; '> format, image =
service.dispatchRequest( params, path_info, req_method, host
)</span><br><span style='font-size: 10pt; '> File
"C:\ms4w\Apache\cgi-bin\TileCache\Service.py", line 443, in
dispatchRequest</span><br><span style='font-size: 10pt; '> return
self.renderTile(tile,
params.has_key('FORCE'))</span><br><span style='font-size: 10pt; '> File
"C:\ms4w\Apache\cgi-bin\TileCache\Service.py", line 401, in
renderTile</span><br><span style='font-size: 10pt; '> data =
layer.render(tile)</span><br><span style='font-size: 10pt; '> File
"C:\ms4w\Apache\cgi-bin\TileCache\Layer.py", line 253, in
render</span><br><span style='font-size: 10pt; '> return
self.renderTile(tile)</span><br><span style='font-size: 10pt; '> File
"C:\ms4w\Apache\cgi-bin\TileCache\Layer.py", line 297, in
renderTile</span><br><span style='font-size: 10pt; '> tile.data, response =
wms.fetch()</span><br><span style='font-size: 10pt; '> File
"C:\ms4w\Apache\cgi-bin\TileCache\Client.py", line 53, in
fetch</span><br><span style='font-size: 10pt; '> raise Exception("Did not get
image data back. (Adjust HIDE_ALL for more detail.)")</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>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.</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Regards.</span><br><span style='font-size: 10pt; '>Stefan</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Mit freundlichem
Gruss</span><br><span style='font-size: 10pt; '>Stefan
Ziegler</span><br><span style='font-size: 10pt; '>Leiter Aufsicht</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>Kanton
Solothurn</span><br><span style='font-size: 10pt; '>Bau- und
Justizdepartement</span><br><span style='font-size: 10pt; '>Amt für
Geoinformation</span><br><span style='font-size: 10pt; '>Rötistrasse
4</span><br><span style='font-size: 10pt; '>4501
Solothurn</span><br><span style='font-size: 10pt; '>Telefon 032 627 75
96</span><br><span style='font-size: 10pt; '>Telefax 032 627 75
98</span><br><span style='font-size: 10pt; '>stefan.ziegler@bd.so.ch</span><br><span style='font-size: 10pt; '>http://www.so.ch</span></div>
</body>
</html>