[Mapserver-users] SLD - wms_sld_url
Van Ulden, Joost
jvanulde at nrcan.gc.ca
Mon May 10 11:35:49 PDT 2004
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
More information about the MapServer-users
mailing list