[Tilecache] STYLES appears Twice in WMS Request
Andrew Hughes
azza at lisasoft.com
Thu May 3 23:18:48 EDT 2007
Hi Y`all....
My WMS requires a STYLES parameter... I can submit this via the url
parameter (as below), and as noted in the tutorial...
http://docs.codehaus.org/display/GEOSDOC/TileCache+Tutorial
However, the styles parameter is added in once again by TileCache when
it constructs the WMS request.
The WMS request looks *like*
http://localhost/wms?bgcolor=%2399B3CC&STYLES=,,,,,,,,,Railway_Case,,,,,Roads_Case,Freeways_Case,,MallRoad,MediumRoads,MajorRoads,,&BBOX=...&STYLES=&LAYERS=.....
Note that STYLES appears twice :'( which causes some confusion for the
WMS....
I've looked at the code but I can't figure how how this is added to the
URL....
tilecache.cfg layer looks like:
[MyLayer]
type=WMSLayer
url=http://localhost/wms?bgcolor=%2399B3CC&STYLES=,,,,,,,,,Railway_Case,,,,,Roads_Case,Freeways_Case,,MallRoad,MediumRoads,MajorRoads,,
srs=EPSG:4326
layers=a,b,c,d,e,f,g,h,i,dummy
extension=jpg
metaTile=yes
metaBuffer=0
Any help would be great!
More information about the Tilecache
mailing list