[Mapserver-users] SLD - wms_sld_url
Van Ulden, Joost
jvanulde@nrcan.gc.ca
Mon, 10 May 2004 14:35:49 -0400
Hello all,
I am looking into SLD with MapServer. It works fine if I add the path to an
SLD doc to the url, but when I specify the path in the wms_sld_url metadata
element the style does not get applied. It works if I put the sld doc in
the wms_sld_body. Maybe I am way off but here is my layer snippet:
LAYER
NAME "Styled Rivers"
TYPE RASTER
STATUS ON
CONNECTION "http://127.0.0.1/scripts/mapserv.exe?map=wms.map"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Rivers"
"wms_server_version" "1.1.0"
"wms_format" "image/gif"
"wms_sld_url"
"http://127.0.0.1/mapserver/styles/sld_line_simple.xml"
END
END
Any suggestions would be helpful.
Cheers,
Joost
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users