[mapserver-users] SLD with Mapserver 5.4.2

Andrea Dessì nkjoep at gmail.com
Thu Jul 30 09:49:30 PDT 2009


Hi,

i've started using Mapserver few days ago and i cannot apply SLD styles.

i'm using  MapServer version 5.4.2
OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG
SUPPORTS=PROJ
SUPPORTS=AGG
SUPPORTS=FREETYPE
SUPPORTS=ICONV
SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT
SUPPORTS=WCS_SERVER
SUPPORTS=FASTCGI
SUPPORTS=THREADS
SUPPORTS=GEOS
INPUT=EPPL7
INPUT=POSTGIS
INPUT=OGR
INPUT=GDAL
INPUT=SHAPEFILE

under Ubuntu 9.04.

I want to user mapserver as WMS Server and the apply SLD styles on the 
fly... the common query is:
http://localhost/cgi-bin/wms?SERVICE=WMS&
VERSION=1.1.1&
REQUEST=GetMap&
BBOX=-74.012362,40.752314,-73.948216,40.791051&
SRS=EPSG:4326&
WIDTH=500&
HEIGHT=500&
LAYERS=myground,myroads&
FORMAT=image/gif&
TRANSPARENT=TRUE&
SLD=http://localhost/mysld.xml

But sld is not applying.

The question is: there are specific parameters for using SLD in mapfile?
I'm feeling a bit confused about this.

Thank You,
--
Andrea




More information about the MapServer-users mailing list