<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi there,<br>
<br>
I do not think there is any thing wrong wit the LSD you posted. I
used it locally with MapServer svn and It did apply (after I changed
the layer name to my local data set. <br>
I see that your map file has the log set and you should be able to
see something in the log file starting with msApplySLD() .... Do
you see that?<br>
<br>
Another point is that the sld file is temprarly saved into the
tnagepath defined in your mapfile (IMAGEPATH 'R:<i
class="moz-txt-slash"><span class="moz-txt-tag">/</span>webtemp<span
class="moz-txt-tag">/</span></i>'
): Would there be any problem for the web user to write files in
that directory? You can use also the SLD_BODY to avoid that. Here
is your encoded sld [1] that I have used and works (you need to
change the name inside it back to reflect your map file):<br>
<br>
Please also indicate the version of MapServer (sorry if I have
missed this info in the thread). I am using the current trunk
version.<br>
<br>
regards<br>
<br>
[1] :
%3CStyledLayerDescriptor+version%3D%221.0.0%22%3E%3CNamedLayer%3E%3CName%3EWorldGen%3C%2FName%3E%3CUserStyle%3E%3CTitle%3ECommunities%3C%2FTitle%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CPolygonSymbolizer%3E%3CFill%3E%3CCssParameter+name%3D%22fill%22%3E%23d2741c%3C%2FCssParameter%3E%3CCssParameter+name%3D%22fill-opacity%22%3E1%3C%2FCssParameter%3E%3C%2FFill%3E%3CStroke%3E%3CCssParameter+name%3D%22stroke%22%3E%23000000%3C%2FCssParameter%3E%3CCssParameter+name%3D%22stroke-width%22%3E0.26%3C%2FCssParameter%3E%3CCssParameter+name%3D%22stroke-opacity%22%3E1%3C%2FCssParameter%3E%3C%2FStroke%3E%3C%2FPolygonSymbolizer%3E%3C%2FRule%3E%3C%2FFeatureTypeStyle%3E%3C%2FUserStyle%3E%3C%2FNamedLayer%3E%3C%2FStyledLayerDescriptor%3E<br>
<br>
<br>
On 18/10/2010 5:22 PM, K wrote:
<blockquote cite="mid:4CBCBA83.9030603@sandnarrows.com" type="cite">As
I am still unable to get my SLD to work, I wonder if the shape
file (is it a shape file?) and map file for that example is
available to download somewhere? This way I can toss it on my
server and it would let me see if my problem is software related,
rather then something wrong with my files.
<br>
<br>
Thanks,
<br>
<br>
Ken
<br>
<br>
On 18/10/2010 5:31 PM, Jeff McKenna wrote:
<br>
<blockquote type="cite">On 10-10-18 11:16 AM, Rahkonen Jukka
wrote:
<br>
<blockquote type="cite">I noticed that none of the full request
links in the document
<br>
<a class="moz-txt-link-freetext" href="http://mapserver.org/ogc/sld.html">http://mapserver.org/ogc/sld.html</a> are working now
<br>
</blockquote>
<br>
Good catch Jukka. The examples should be working again, please
re-try.
<br>
<br>
-jeff
<br>
<br>
<br>
</blockquote>
_______________________________________________
<br>
mapserver-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
<br>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: <a class="moz-txt-link-abbreviated" href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>
<a class="moz-txt-link-freetext" href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a>
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
</pre>
</body>
</html>