[Tilecache] TileCache generates weird URLs
Arnaud Diederen
aundro at gmail.com
Tue Jan 15 11:42:46 EST 2008
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?
It seems OpenLayers builds references to the images itself, and does not
need to perform such requests to the service, so I guess it might have gone
unnoticed...
Best regards,
A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080115/8868fc76/attachment.html
More information about the Tilecache
mailing list