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

Julien Cigar jcigar at ulb.ac.be
Tue Sep 6 08:23:07 EDT 2011


OK.. it looks like I cannot use STYLES= and SLD= at the same time ..
Does anyone have an idea how to put a simple text constant (copyright) 
and a graphic image (logo) at the bottom of a map (*in SLD*)?

Thanks,
Julien

On 09/06/2011 13:50, Julien Cigar wrote:
> 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
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
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/a298ecb8/jcigar.vcf


More information about the mapserver-users mailing list