[mapserver-users] GetLegendGraphic legend image generated as line for polygon without color
Oliver Christen
oliver.christen at camptocamp.com
Wed Mar 7 04:26:32 PST 2012
dear all
Im trying to find a way to tell Mapserver to render the legend icon
for a polygon layer with no color (transparent) (only outlinecolor) as
a polygon legend (rectangle) and not as a line legend (zig-zag line)
see below for my layer definition
the currently generated legend image is:
http://dev.camptocamp.com/files/mapserver/legend.png
I have tried to specify a
COLOR -1 -1 -1
to force Mapserver to handle the legend image as a polygon (rectangle)
without success.
any idea if there is a "trick" to force Mapserver to render the legend
as a rectangle and not as a zig-zag line ?
thanks in advance
Oliver
LAYER
NAME "movd_cad_tpr_prf_s"
METADATA
"wms_title" "SitCdParcellaireLineDDPtt2_"
END
TYPE POLYGON
DATA MOVD_CAD/MOVD_CAD_TPR_PRF_S
STATUS ON
MAXSCALE 10001
CLASS
NAME "Prf"
STYLE
OUTLINECOLOR 255 0 0
WIDTH 3
END
END
END
More information about the MapServer-users
mailing list