[Tilecache] help caching openmaps.gov.bc.ca
pawprint_net
scott at pawprint.net
Mon May 5 13:08:55 EDT 2008
I think it's the service=wms in your url - that will be added automatically
by tilecache (and the type should be WMSLayer
Here is one that works for me:
[bcbase]
type=WMSLayer
layers=REGIONAL_MOSAICS
url=http://openmaps.gov.bc.ca/imagex/ecw_wms.dll?
extension=png
debug=no
alim karim wrote:
>
> 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} );
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
>
--
View this message in context: http://www.nabble.com/help-caching-openmaps.gov.bc.ca-tp16750416p17066374.html
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache
mailing list