[Tilecache] TileCache generates weird URLs

Christopher Schmidt crschmidt at metacarta.com
Tue Jan 15 11:54:19 EST 2008


On Tue, Jan 15, 2008 at 05:42:46PM +0100, Arnaud Diederen wrote:
> Hello all,
> 
> I've installed tilecache with mod_python recently, but I cannot get very
> far, regarding the use of the "capabilities" the service advertises.
> 
> According to the TMS specification (
> http://wiki.osgeo.org/index.php/Tile_Map_Service_Specification), a request
> on
> http://labs.metacarta.com/wms-c/Basic.py/1.0.0 should advertise tile maps at
> the URLs of the form:
> 
>   http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast
>   http://labs.metacarta.com/wms-c/Basic.py/1.0.0/basic
> 
> but it does advertise URLs of the form:
> 
>   http://labs.metacarta.com/wms-c/Basic.py/1.0.0/1.0.0/linktothepast
>   http://labs.metacarta.com/wms-c/Basic.py/1.0.0/1.0.0/basic
> 
> instead.
> Those urls are clearly wrong, and the server errors on requests at those.
> Removing the second, duplicate "1.0.0/" makes it work fine.
> 
> Now, if I use the URL:
> http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast
> The tile sets advertised have (even) weird(er) URLs:
> 
> http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/0
> http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/1
> http://labs.metacarta.com/wms-c/Basic.py/1.0.0/linktothepast/1.0.0/linktothepast/2
> 
> Again, those are wrong. Removing the duplicate "1.0.0/linktothepast" makes
> them work ok.
> 
> Am I doing anything wrong, or is it a bug?

That's a bug in the mod_python service, but it should be fixed since 1.9
-- are you having the problem with your own server?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list