<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(32, 32, 32); font-family: 'Droid Sans', arial, sans-serif; font-size: 13px; ">Hi,<br><br>When I try to render a Polygon shapefile with a SLD file using the ExternalGraphic , the mapserver crashes. After investigating the cause by putting the DEBUG in map file and<br>
analyzing the temporary map file that is created , it seems the SYMBOL , TYPE Pixmap tags are not getting created in the map file. Only the Symbol tag in the Layer is present.<br>The image file though gets downloaded into the temp dir.<br>
<br>Any ideas please ? Do I need to make an entry in the symbolset file ?<br><br>LAYER<br> DATA "states"<br> METADATA<br> "wms_srs" "EPSG:4326"<br> "wms_title" "states"<br>
END # METADATA<br> NAME "states"<br> PROJECTION<br> "init=epsg:4326"<br> END # PROJECTION<br> STATUS ON<br> TILEITEM "location"<br> TYPE POLYGON<br> UNITS METERS<br>
CLASS<br> NAME "states"<br> STYLE<br> ANGLE 0<br> COLOR 255 0 0<br> OFFSET 0 0<br> SIZE 10<br> SYMBOL "<a href="http://demo.mapserver.org/ogc-demos/etc/images/target-1.gif" target="_blank" style="color: rgb(103, 117, 58); ">http://demo.mapserver.org/ogc-demos/etc/images/target-1.gif</a>"<br>
END # STYLE<br> STYLE<br> ANGLE 0<br> OFFSET 0 0<br> OUTLINECOLOR 0 0 0<br> END # STYLE<br> END # CLASS<br> END # LAYER</span><br clear="all"><br>-- <br>Thanks and Warm Regards<br>
Debasish Sahu<br>