[mapserver-users] WMS SLD ExternalGraphic Rendering Issue
Debasish Sahu
debasish.sahu at gmail.com
Mon May 23 19:31:27 PDT 2011
Hi,
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
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.
The image file though gets downloaded into the temp dir.
Any ideas please ? Do I need to make an entry in the symbolset file ?
LAYER
DATA "states"
METADATA
"wms_srs" "EPSG:4326"
"wms_title" "states"
END # METADATA
NAME "states"
PROJECTION
"init=epsg:4326"
END # PROJECTION
STATUS ON
TILEITEM "location"
TYPE POLYGON
UNITS METERS
CLASS
NAME "states"
STYLE
ANGLE 0
COLOR 255 0 0
OFFSET 0 0
SIZE 10
SYMBOL "http://demo.mapserver.org/ogc-demos/etc/images/target-1.gif"
END # STYLE
STYLE
ANGLE 0
OFFSET 0 0
OUTLINECOLOR 0 0 0
END # STYLE
END # CLASS
END # LAYER
--
Thanks and Warm Regards
Debasish Sahu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110524/f728c55d/attachment.htm>
More information about the MapServer-users
mailing list