[Mapserver-users] WMS style elements and SLD

Rene Teniere TENIERER@gov.ns.ca
Thu, 15 Apr 2004 14:43:39 -0300


Assefa,

Thanks, It's all so confusing. I have seen so many variations on how to
do this, and am especially wondering what the NamedStyle refers to. Does
it use the style element in the mapfile, or does it have to be created?
In the OGC SLD reference it shows the NamedLayer, and NamedStyle, but I
do not know where the NamedStyle comes from or how it is created. If I
use wms_sld_url, do I still have to use wms_style or wms_stylelist? As
you can see I have a lot of questions and I'm sorry for the volume as I
know SLD is new to MapServer.

Rene

>>> Yewondwossen Assefa <assefa@dmsolutions.ca> 2004-04-15 2:21:52 PM
>>>
Rene,

  You should use  the wms_sld_url metadata. So in your case you would 
have "wms_sld_url" "http://10.2.185.9/wms/basewms_sld.xml".
  Note also that there is the wms_sld_body metedata that can be set to

the actual contect of the sld document.

Best Regards,

-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa@dmsolutions.ca 
http://www.dmsolutions.ca/ 

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users