Polygon Fill Bug?
Steve Lime
steve.lime at DNR.STATE.MN.US
Mon Oct 31 09:02:22 PST 2005
Steve I can't say definitively without testing. I'll try to do that in the next day or so
and get back to you.
Steve
>>> Stephen Woodbridge <woodbri at SWOODBRIDGE.COM> 10/30/05 7:16 AM >>>
Hi all,
I think I have found a bug or am doing something very stupid. I have a
mapfile with the following layer. If I uncomment the SYMBOL in the 3rd
class the polygons are filled with the color of the first class.
This came about because I would like to make the outline color thicker
on the 3rd class. Oh yeah, if I give a SIZE to the 3rd class, I get a
strange grid of touching circle in that classes color with the water
filling in between them. (see attached image).
The scale=4000000
FreeBSD system, compiled from source not using the ports.
woodbri at linus:/u/data/canada$ /usr/local/www/cgi-bin/mapserv -v
MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE INPUT=POSTGIS INPUT=SHAPEFILE
Other than this anomaly, all my other mapfiles are working great.
Anyone else seen this?
Am I doing something wrong here?
Thanks,
-Steve W.
LAYER
NAME "10M Boundary P"
STATUS DEFAULT
DATA "10M/bound_p"
TYPE POLYGON
LABELITEM "NAME"
CLASSITEM "NAME"
CLASS
EXPRESSION "water/agua/d'eau"
STYLE
SYMBOL 'circle'
SIZE 3
COLOR 154 197 238
OUTLINECOLOR 154 197 238
END
END
CLASS
MINSCALE 4000100.0
STYLE
COLOR 254 254 225
OUTLINECOLOR 150 150 150
END
END
CLASS
MAXSCALE 4000100.0
STYLE
#SYMBOL 'circle'
SIZE 1
COLOR 254 254 225
OUTLINECOLOR 150 150 150
END
LABEL
FONT "arial-bold"
TYPE TRUETYPE
POSITION CC
SIZE 7
BUFFER 4
WRAP "/"
COLOR 150 150 150
OUTLINECOLOR 245 245 231
ANTIALIAS TRUE
PARTIALS FALSE
MINDISTANCE 250
MINFEATURESIZE 10
END
END
END
More information about the MapServer-users
mailing list