<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Guillaume,<br>
<br>
I found this example:<br>
<a class="moz-txt-link-freetext" href="http://blog.geoserver.org/2009/04/02/follow-the-arrows/">http://blog.geoserver.org/2009/04/02/follow-the-arrows/</a><br>
<br>
Does MapServer support the ogc:Literal Element within label, too?<br>
<br>
Daniel<br>
<br>
Guillaume Sueur schrieb:
<blockquote cite="mid:4AAF9CE9.3080306@neogeo-online.net" type="cite">
  <pre wrap="">Hi Daniel,

Label is supposed to enclise the name of a field. Here is a complete
working example of text symbolizer :
&lt;TextSymbolizer&gt;
        &lt;Label&gt;id_field&lt;/Label&gt;
        &lt;LabelPlacement&gt;
                &lt;PointPlacement&gt;
                        &lt;Displacement&gt;
                                &lt;DisplacementX/&gt;
                                &lt;DisplacementY&gt;5&lt;/DisplacementY&gt;
                        &lt;/Displacement&gt;
                &lt;/PointPlacement&gt;
        &lt;/LabelPlacement&gt;
        &lt;Font&gt;
                &lt;CssParameter name="font-family"&gt;VERDANA&lt;/CssParameter&gt;
                &lt;CssParameter name="font-style"&gt;bold&lt;/CssParameter&gt;
                &lt;CssParameter name="font-size"&gt;16&lt;/CssParameter&gt;
        &lt;/Font&gt;
        &lt;Fill&gt;
                &lt;CssParameter name="fill"&gt;#000000&lt;/CssParameter&gt;
        &lt;/Fill&gt;
        &lt;Halo&gt;
                &lt;Radius&gt;3&lt;/Radius&gt;
                &lt;Fill&gt;&lt;CssParameter name="fill"&gt;#FFFFFF&lt;/CssParameter&gt;&lt;/Fill&gt;
        &lt;/Halo&gt;
&lt;/TextSymbolizer&gt;

Hope that helps

Guillaume


Daniel Degasperi a écrit :
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

I've some problems using the TextSymbolizer in my SLD-File (see
Attachment route_sld.xml), specially with the following part, which will
generate this error: column Literal does not exists. (see Attachment
wms_error.png for further details)

&lt;ogc:Label&gt;&lt;ogc:Literal&gt;V&lt;/ogc:Literal&gt;&lt;/ogc:Label&gt;

Is this problem related to MapServer or MapServer does not support
SLD-Labels?

I've tested this with MapServer 5.2.2 and 5.4.2.

Best regards,
Daniel Degasperi



------------------------------------------------------------------------


------------------------------------------------------------------------

_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
  Daniel Degasperi
  Software Developer
  <a class="moz-txt-link-abbreviated" href="mailto:daniel.degasperi@r3-gis.com">daniel.degasperi@r3-gis.com</a>
  
---------------------------
  R3 GIS Srl
  Via Johann Kravogl 2
  I-39010 Merano - Sinigo (BZ)
  Tel. +39 0473 494949
  Fax. +39 0473 069902
  Web  <a class="moz-txt-link-freetext" href="http://www.r3-gis.com">http://www.r3-gis.com</a>
-----------------------------
</pre>
</body>
</html>