[Mapserver-users] Color Bug?
Pierre GIRAUD
bluecarto at free.fr
Tue Jul 20 09:54:24 PDT 2004
Your symbol "dashed1" is the guilty element.
Pierre GIRAUD
camptocamp.com
David Fawcett wrote:
>I have two scale dependent polygon layers that represent counties in MN.
> One displays at scales greater than 2,000,000 and the other less than
>2,000,000.
>
>I am using a MapServer 4.0 beta binary created in 8/2003 on Win2K.
>
>Here are the two layer definitions:
>____________________________________________
>LAYER
> NAME basemap
> STATUS DEFAULT
> TYPE POLYGON
> DATA score
> MINSCALE 2000000
> CLASS
> OUTLINECOLOR 153 153 153
> COLOR 204 204 153
> END
> END
>
> LAYER
> NAME basemap
> STATUS DEFAULT
> TYPE POLYGON
> DATA score
> LABELITEM "NAME"
> MAXSCALE 2000000
> CLASS
> OUTLINECOLOR 153 153 153 #An OUTLINECOLOR with no COLOR gives
>same effect as old POLYLINE
> COLOR 204 204 153
> SYMBOL 'dashed1'
> LABEL
> TYPE TRUETYPE
> FONT "arial-bold"
> SIZE 10
> POSITION cc
> MINSIZE 6
> MAXSIZE 12
> COLOR 181 181 181
> SHADOWCOLOR 204 204 204
> ANTIALIAS TRUE
> PARTIALS FALSE
> MINFEATURESIZE 40
> END
>
> END
> END
>_____________________________________________
>
>Both layers have the same COLOR defined, but when the larger scale
>layer gets displayed, the color is different, apparently lighter.
>
>I have attached two .gif's to demonstrate the problem. out.gif is a
>view at a smaller scale and in.gif is a larger scale view.
>
>Any ideas? Bug or PIBCAK?
>
>Thanks,
>
>David.
>
>David J. Fawcett
>MN Office of Environmental Assistance
>
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
More information about the MapServer-users
mailing list