[OpenLayers-Users] OpenLayers sending wrong url to TileCache?

rtaitmilne rtaitmilne at telenium.ca
Fri Feb 13 10:26:33 EST 2009


Thanks for the quick response and clarification.  I was using a brain-dead
approach of "I'm using TileCache, therefore I should use Layer.TileCache",
without looking at the docs in too much detail.

Best,
Russ



Christopher Schmidt-2 wrote:
> 
> On Thu, Feb 12, 2009 at 03:33:56PM -0800, rtaitmilne wrote:
>> The first 3 URL's that OpenLayers requests all get the same image: (from
>> FireBug's net monitor)
>> http://localhost/cgi-bin/tilecache.cgi/1.0.0/segment/00/000/000/000/000/000/002.png
>> http://localhost/cgi-bin/tilecache.cgi/1.0.0/segment/00/000/000/001/000/000/002.png
>> http://localhost/cgi-bin/tilecache.cgi/1.0.0/segment/00/000/000/002/000/000/002.png
> 
> Use Layer.WMS or Layer.TMS instead of Layer.TileCache. Layer.TileCache
> is " Used to requests tiles cached by TileCache in a web accessible
> cache.  This means that you have to pre-populate your cache before this
> layer can be used.  It is meant only to read tiles created by TileCache,
> and not to make calls to TileCache for tile creation."
> --http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/TileCache-js.html
> 
> 
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/OpenLayers-sending-wrong-url-to-TileCache--tp2318601p2321771.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list