How to enable SLD in Mapserver?

Bobby Fung bobbyfung at HOTMAIL.COM
Mon May 9 15:01:35 EDT 2005


The problem is that the map I got from mapserver throught WMS looks the same
as I didn't included the SLD parameter. And I am sure that the SLD script
and the mapfile is correct since I took them directly from "MapServer OGC
Web Services Workshop".

I have attached the mapfile and sld file to this email anyway.

Thanks!

----- Original Message -----
From: "Kralidis,Tom [Burlington]" <Tom.Kralidis at ec.gc.ca>
To: "Libo Feng" <bobbyfung at HOTMAIL.COM>; <MAPSERVER-USERS at LISTS.UMN.EDU>
Sent: Monday, May 09, 2005 3:45 PM
Subject: RE: [UMN_MAPSERVER-USERS] How to enable SLD in Mapserver?




> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Libo Feng
> Sent: Monday, 09 May, 2005 14:37
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: [UMN_MAPSERVER-USERS] How to enable SLD in Mapserver?
>
>
> Hello,
>
> I tried to enalbe SLD on my Mapserver but I can't make it
> work. The following is the parameters that I used to
> configure the Makefile:
>
> ./configure --without-tiff --without-eppl --with-threads
> --with-proj --with-gdal=/usr/local/bin/gdal-config --with-ogr
> --with-gd=/usr/local --with-freetype=/usr/bin  --with-ming
> --with-wmsclient --with-wfs --with-wfsclient
>
>
> The mapserv CGI works all right but it just won't take my SLD
> script. I tested with the mapfile, sld scipt and shape files
> from the "MapServer OGC Web Services Workshop"
> (http://devgeo.cciw.ca/ms_ogc_workshop/index.html)
> and it doesn't work either. So I think it's my CGI's problem.
> Am I missing anything?
>

What sort of problems are you running into?  How is it not taking your
SLD?

.Tom


>
> I appreciate any help! Thanks.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.map
Type: application/octet-stream
Size: 20127 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050509/ced6bda3/config.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rivers.sld
Type: application/octet-stream
Size: 1654 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050509/ced6bda3/rivers.obj


More information about the mapserver-users mailing list