[Tilecache] How to use TileCache as a TMS-server?
Hamish Campbell
hn.campbell at gmail.com
Tue Nov 11 14:15:29 EST 2008
If you want OpenLayers to pull TileCache cached tiles only (ie, don't
generate new tiles), use
OpenLayers.Layer.TileCache<http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/OpenLayers/Layer/TileCache-js.html>.
But yes, you will have to seed the cache first.
2008/11/12 crinolium <wengerter at gmail.com>
>
> Hello,
>
> can somebody tell me how to use TileCache as a TMS-server?
>
> I want to create a cache of a WMS-server and then use this cache with
> TileCache as a TMS-server.
>
> How can I switch between TileCache- and TMS-server? I know how to use
> TileCache with a TileCache-layer and now I want to use it with a TMS-layer.
> Is the functionality the same and I only have to switch between this two
> formats? Or have I to fill the cache first and after that I can use the
> TMS-Layer?
> Does it work with the normal tilecache.cfg-file?
>
> I tried it like this:
> new OpenLayers.Layer.TMS("TMS",
> "http://localhost/tilecache-2.04/tilecache.cgi?", {type: 'jpg', layername:
> 'tk'});
> I only get pink tiles. Because the tiles aren't there.
>
> I hope someone can clean that stuff up for me.
> --
> View this message in context:
> http://www.nabble.com/How-to-use-TileCache-as-a-TMS-server--tp20442152p20442152.html
> Sent from the TileCache mailing list archive at Nabble.com.
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20081112/6cc2fc4a/attachment.html
More information about the Tilecache
mailing list