[mapserver-users] how to use STYLES .. ?

Julien Cigar jcigar at ulb.ac.be
Tue Sep 6 04:50:15 PDT 2011


Hello,

I have the following layer http://www.pastie.org/2490986 with the 
following SLD http://www.pastie.org/2490993
Is it possible to mix a SLD= with a STYLES= .. ?

Any idea why with the following request (STYLES=bar):
http://my.server/mapserver?map=/my/mapfile.map&LAYERS=eea&TRANSPARENT=TRUE&FORMAT=image/png&SLD=http://my.server/mysld&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=foo&SRS=EPSG:3857&BBOX=-9378667.0980278,1061783.1742937,13163529.784472,15737692.603004&WIDTH=1152&HEIGHT=750

Mapserver outputs: msWMSLoadGetMapParams(): WMS server error. Style 
(foo) not defined on layer.

If I understood well STYLES should override the CLASSGROUP, so I don't 
understand why it doesn't work ..

Thanks,
Julien

-- 
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jcigar.vcf
Type: text/x-vcard
Size: 292 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110906/013bed6c/attachment.vcf>


More information about the MapServer-users mailing list