[Tilecache] help caching openmaps.gov.bc.ca
alim karim
alim.karim at gmail.com
Thu Apr 17 12:27:42 EDT 2008
has anyone tried to cache WMS layers from openmaps.gov.bc.ca?
if so, can you please share your config so i can see why i am getting pink
tiles in OL.
my TC config is as follows:
[test2]
type=WMS
url=http://openmaps.gov.bc.ca/mapserver/base?service=wms
layers=C_MAJOR_CITIES_POINTS_500M
extension=gif
bbox=200000,300000,1900000,1800000
srs=EPSG:3005
extent_type=loose
maxResolution=3320
levels=8
and my OL layer constructor looks like:
var max_extent = new OpenLayers.Bounds(200000,300000,1900000,1800000);
max_res = 3320;
layer = new OpenLayers.Layer.WMS( "VMap0",
"tilecache.cgi?", {layers: 'test2', format: 'image/gif'
}, {maxExtent: max_extent, maxResolution: max_res} );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080417/ebeff522/attachment.html
More information about the Tilecache
mailing list