Something additional, Mapserver does not comply with the SLD spec if you omit the Size in the SLD. The SLD 1.0 spec says:<br><br>&quot;The default size of an image format (such as GIF) is the inherent size of the image.&quot;
<br><br>but Mapserver seems to use a default of 6 pixels ...<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (psSize &amp;&amp; psSize-&gt;psChild &amp;&amp; psSize-&gt;psChild-&gt;pszValue)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; psStyle-&gt;size = atoi(psSize-&gt;psChild-&gt;pszValue);
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; psStyle-&gt;size = 6; /* defualt value */<br><br>Best regards,<br>Bart<br><br><div><span class="gmail_quote">On 9/11/07, <b class="gmail_sendername">Bart van den Eijnden</b> &lt;<a href="mailto:bartvde@gmail.com">
bartvde@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi list,<br><br>I just spent half of my day finding out why an SLD with external graphics did not work anymore with 
5.0, something like:<br><br>&lt;PointSymbolizer&gt;&lt;Geometry&gt;&lt;PropertyName&gt;msGeometry&lt;/PropertyName&gt;&lt;/Geometry&gt;&lt;Graphic&gt;&lt;ExternalGraphic&gt;&lt;OnlineResource &#39;.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;xmlns:xlink=&quot;<a href="http://www.w3.org/1999/xlink" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.w3.org/1999/xlink</a>&quot; xlink:type=&quot;simple&quot; xlink:href=&quot;&#39;.$this-&gt;externalgraphic.&#39;&quot;/&gt;&lt;Format&gt;GIF&lt;/Format&gt;&#39;.
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;&lt;/ExternalGraphic&gt;&lt;Size&gt;1.0&lt;/Size&gt;&lt;/Graphic&gt;&lt;/PointSymbolizer&gt;&lt;/Rule&gt;<br><br>I used a PointSymbolizer with Size 1 and this results in something like:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLE 360<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL &quot;.....&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br><br>In Mapserver 4.10 this used to draw the symbol in its native size/dimension, but in 5.0 this does not work anymore, 
i.e. I do not see anything in the map.<br><br>If I change Size to 17 (the size in pixels of the image used), the SLD works fine again.<br><br>Was this change intentional? Anyways, I guess this should be documented in the migration guide :-) ?
<br><br>Best regards,<br><span class="sg">Bart<br>
</span></blockquote></div><br>