<br>Hi Christopher,<br><br>(and thanks for the quick reply!)<br><br>I just installed the 2.01 version that's available, and it solves the problem indeed!<br><br>One more question: I must be able to connect to tilecaches available at various locations; those might be of versions prior to
1.9. Is there any way to figure out what version of tilecache we're fetching the descriptive XML documents from? (i.e., in order to know when the advertised URLs have to be patched)<br><br>Best,<br> A.<br><br>
<br><div class="gmail_quote">On Jan 15, 2008 5:54 PM, Christopher Schmidt <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:<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="Wj3C7c">On Tue, Jan 15, 2008 at 05:42:46PM +0100, Arnaud Diederen wrote:<br>> Hello all,<br>><br>> I've installed tilecache with mod_python recently, but I cannot get very<br>> far, regarding the use of the "capabilities" the service advertises.
<br>><br>> According to the TMS specification (<br>> <a href="http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification" target="_blank">http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification</a>), a request
<br>> on<br>> <a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0" target="_blank">http://labs.metacarta.com/wms-c/Basic.py/1.0.0</a> should advertise tile maps at<br>> the URLs of the form:<br>><br>>
<a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast" target="_blank">http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast</a><br>> <a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/basic" target="_blank">
http://labs.metacarta.com/wms-c/Basic.py/1.0.0/basic</a><br>><br>> but it does advertise URLs of the form:<br>><br>> <a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/1.0.0/linktothepast" target="_blank">
http://labs.metacarta.com/wms-c/Basic.py/1.0.0/1.0.0/linktothepast</a><br>> <a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/1.0.0/basic" target="_blank">http://labs.metacarta.com/wms-c/Basic.py/1.0.0/1.0.0/basic
</a><br>><br>> instead.<br>> Those urls are clearly wrong, and the server errors on requests at those.<br>> Removing the second, duplicate "1.0.0/" makes it work fine.<br>><br>> Now, if I use the URL:
<br>> <a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast" target="_blank">http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast</a><br>> The tile sets advertised have (even) weird(er) URLs:
<br>><br>> <a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/0" target="_blank">http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/0</a><br>>
<a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/1" target="_blank">http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/1</a><br>> <a href="http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/2" target="_blank">
http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/2</a><br>><br>> Again, those are wrong. Removing the duplicate "1.0.0/linktothepast" makes<br>> them work ok.<br>><br>
> Am I doing anything wrong, or is it a bug?<br><br></div></div>That's a bug in the mod_python service, but it should be fixed since 1.9<br>-- are you having the problem with your own server?<br><br>Regards,<br><font color="#888888">
--<br>Christopher Schmidt<br>MetaCarta<br></font></blockquote></div><br><br clear="all"><br>-- <br>Do not ask how.<br>Ask rather why.<br>Once you know your reason, your method will be obvious.<br> -- The book of Bears (zen scheme, ch 1 verse 22)
<br>