Polygon Fill Bug?

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Sun Oct 30 05:16:19 PST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mapserv-4.png
Type: image/png
Size: 9723 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051030/128a8ecc/attachment.png>


More information about the MapServer-users mailing list