URGENT ANSWER NEEDED ! SLD and WMS

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Wed May 18 07:00:23 PDT 2005


Hi,

Answer to your first question is: yes it is possible to use SLD or SLD_BODY.

Answer to your second question is: no it is not possible to use named styles. You can only define the default (or empty) style.

See:
http://mapserver.gis.umn.edu/doc44/sld-howto.html

Best regards,
Bart

Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Virginie Berre <vberre at GI-PARIS.COM> 05/18/05 03:57pm >>>
Hi All!



I want to know some things:



Is it possible to specify a url or to define a style in the GepMap Request?

http://localhost:80/cgi-bin/wms?request=GetMap…..SLD=http://url/style..sld...

Or http://localhost:80/cgi-bin 
/wms?request=GetMap…..SLD_BODY=<!xml...><StyledLayorDescriptor
...>…</StyledLayorDescriptor>…



Is it possible to define more than 1 style for a layer? A default style (in
the layer config in the mapfile) and another newstyle (where define it??)
called as:

http://localhost:80/cgi-bin 
/wms?request=GetMap…..layers=layername&styles=newstyle...  ??



Thanks!

Best regards,

Virginie Berre

G*n*rale d'Infographie
ZA Les Erables - B*timent 4
66, route de Sartrouville - F-78232 - LE PECQ cedex
T*l : (33) (0)1.30.15.40.50 - Fax : (33) (0)1.30.15.40.60
mailto:vberre at gi-paris.com 
http://www.generale-infographie.fr/



More information about the MapServer-users mailing list