[mapserver-users] [WMS] Styles not working with mode=tile
Clément MONIER
Clement.MONIER at v-trafic.com
Fri Dec 16 03:35:41 PST 2011
Hi,
I'm applying styles to my list of layers inside a WMS request, using the classgroup/class/group system in the mapfile.
It works fine when no "tile mode" is used (bbox instead) :
If I launch this request
http://mapserver/cgi-bin/mapserv.exe?map=mymapfile.map&SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=layer1&STYLES=style2&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&bbox=-35,10,52,15&WIDTH=600&HEIGHT=600
style2 is applied to layer1
But it doesn't work if the request uses tile mode :
http://mapserver/cgi-bin/mapserv.exe?map=mymapfile.map&SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=layer1&STYLES=style2&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&tile=0+0+0&tilemode=gmap&mode=tile&WIDTH=600&HEIGHT=600
style2 is not applied (default style is applied)
Is there a way to apply styles in tile mode ?
Thanks & Regards
Clément
ps : config
MS4W
MapServer v5.6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111216/94ab524f/attachment.htm>
More information about the MapServer-users
mailing list