I'm running under mod_python.<div><br></div><div>The problem is that the request handler throws me a error like the layer is not defined, say for example the layer part of my URL request is like</div><div><br></div><div>
<a href="http://localhost/tc/tilecache.py">http://localhost/tc/tilecache.py</a>?<span class="Apple-style-span" style="font-weight: bold;">LAYERS=layer1,layer2</span>[...more WMS parameters]<br></div><div><br></div><div>I get an error message that reads:<br>
</div><div><br></div><div><pre>An error occurred: The requested layer (layer1,layer2) does not exist. Available layers are:
* layer1
* layer2</pre><pre><span class="Apple-style-span" style="font-family: arial; font-size: 13px; white-space: normal; ">So it seem the tilecache server doesn't support multiple layers, or if it does it doesn't recognize the comma as a separator.</span><br>
</pre><pre><span class="Apple-style-span" style="font-family: arial; font-size: 13px; white-space: normal;">It would simplify things a whole lot if I would not have to set up a separate tilecache instance or mapserver so I would love is this could be resolved.</span></pre>
<pre><span class="Apple-style-span" style="font-family: arial; font-size: 13px; white-space: normal;">Kind regards from Iceland,</span></pre><pre><span class="Apple-style-span" style="font-family: arial; font-size: 13px; white-space: normal;">Gissur</span></pre>
<pre>
</pre></div><div><br><div class="gmail_quote">2009/4/9 Tibor Arpas <span dir="ltr"><<a href="mailto:tibor@infinit.sk">tibor@infinit.sk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br><br>we were able to merge GDAL and WMS layer using your approach (third layer) with no problem. But we only used tilecache_seed.py for the third layer (against a different server instance). I didn't try to use on the fly serving of the third layer because of the loop-back :-). But shouldn't the loop back work also OK if you can restrict the external concurrent requests to one third of what the tilecache instance can handle? (Each external request can generate up to two child request towards the same instance.) I guess it also depends on your deployment. What's your deployment (standalone/mod_python)? And what's the behavior/error messages?<br>
<br>Tibor<br><br><br><br><br><br><br><div class="gmail_quote">2009/4/6 Gissur Þórhallsson <span dir="ltr"><<a href="mailto:gissur@loftmyndir.is" target="_blank">gissur@loftmyndir.is</a>></span><br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div><div></div><div class="h5">
Hi guys,<div><br></div><div>I'm wondering whether anybody had tackled having multiple WMS servers as sources for a single tilecache layer?</div><div><br></div><div>I have two WM servers (one for raster data and another for vector data) which I want to merge into a single tilecache layer. I thought about creating a different tc layer for each and then creating a third one that uses the other two as sources(making the poor tilecache loop-back on itself), but I can't get it working.</div>
<div><br></div><div>Does anybody have any ideas I could try?</div><div><br></div><div>Kind regards from Iceland,</div><div>Gissur Þórhallsson</div>
<br></div></div><div class="im">_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org" target="_blank">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br></div>