[mapserver-dev] Possible BUG: MapServer WMS SLD with ExternalGraphic not working using trunk codebase

Debasish Sahu debasish.sahu at gmail.com
Mon May 23 12:02:54 EDT 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 . Only the Symbol tag in the Layer
is present.
The image file gets downloaded into the temp dir.

Can someone please confirm it is a bug with the current trunk codebase ?

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-dev/attachments/20110523/d5fd7c10/attachment.html


More information about the mapserver-dev mailing list