[Mapserver-users] Color Bug?

Marcelo Carrillo marcelito20 at hotmail.com
Tue Jul 20 13:11:02 EDT 2004


--------------Boundary-00=_EEU5QL80000000000000
Content-Type: Multipart/Alternative;
  boundary="------------Boundary-00=_EEU5LVC0000000000000"


--------------Boundary-00=_EEU5LVC0000000000000
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

In the second map you define a SYMBOL object, do you really need it? Mayb=
e
if you don`t use it, you get the same effect as the first map...=0D
 Regards,=0D
   =0D
 =0D
Marcelo Ismael Carrillo Est=E9vez=0D
BAYTEQ C=EDa. Ltda.=0D
09-8813885 =0D
"There's no place like 127.0.0.1"=0D
-------Mensaje original-------=0D
 =0D
De: David Fawcett=0D
Fecha: 20/07/2004 10:04:48=0D
Para: Mapserver-users at lists.gis.umn.edu=0D
Asunto: [Mapserver-users] Color Bug?=0D
 =0D
I have two scale dependent polygon layers that represent counties in MN.=0D
  One displays at scales greater than 2,000,000 and the other less than=0D
2,000,000.=0D
 =0D
I am using a MapServer 4.0 beta binary created in 8/2003 on Win2K.=0D
 =0D
Here are the two layer definitions:=0D
____________________________________________=0D
LAYER=0D
    NAME basemap=0D
    STATUS DEFAULT=0D
    TYPE POLYGON=0D
    DATA score=0D
    MINSCALE 2000000=0D
    CLASS=0D
       OUTLINECOLOR 153 153 153=0D
     COLOR 204 204 153=0D
    END=0D
  END=0D
 =0D
  LAYER=0D
    NAME basemap=0D
    STATUS DEFAULT=0D
    TYPE POLYGON=0D
    DATA score=0D
    LABELITEM "NAME"=0D
    MAXSCALE 2000000=0D
    CLASS=0D
       OUTLINECOLOR 153 153 153   #An OUTLINECOLOR with no COLOR gives=0D
same effect as old POLYLINE=0D
       COLOR 204 204 153=0D
     SYMBOL 'dashed1'=0D
       LABEL=0D
          TYPE TRUETYPE=0D
          FONT "arial-bold"=0D
          SIZE 10=0D
          POSITION cc=0D
          MINSIZE 6=0D
          MAXSIZE 12=0D
          COLOR 181 181 181=0D
          SHADOWCOLOR 204 204 204=0D
          ANTIALIAS TRUE=0D
          PARTIALS FALSE=0D
          MINFEATURESIZE 40=0D
       END=0D
 =0D
    END=0D
  END=0D
_____________________________________________=0D
 =0D
Both layers have the same COLOR defined, but when the larger scale=0D
layer gets displayed, the color is different, apparently lighter.=0D
 =0D
I have attached two .gif's to demonstrate the problem.  out.gif is a=0D
view at a smaller scale and in.gif is a larger scale view.=0D
 =0D
Any ideas?  Bug or PIBCAK?=0D
 =0D
Thanks,=0D
 =0D
David.=0D
 =0D
David J. Fawcett=0D
MN Office of Environmental Assistance=0D
 =0D
=20
--------------Boundary-00=_EEU5LVC0000000000000
Content-Type: Text/HTML;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
1">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR></HEAD>
<BODY style=3D"BACKGROUND-POSITION: center center; SCROLLBAR-FACE-COLOR: =
#c6d7ff; FONT-SIZE: 12pt; MARGIN: 10px; SCROLLBAR-HIGHLIGHT-COLOR: #fffff=
f; SCROLLBAR-SHADOW-COLOR: #ffffff; COLOR: #804000; SCROLLBAR-3DLIGHT-COL=
OR: #7b9ed6; SCROLLBAR-ARROW-COLOR: #4a6184; BACKGROUND-REPEAT: no-repeat=
; FONT-FAMILY: Comic Sans MS; SCROLLBAR-DARKSHADOW-COLOR: #bebebe" text=3D=
#804000 vLink=3D#0000ff aLink=3D#0000ff link=3D#0000ff bgProperties=3Dfix=
ed bgColor=3D#ffb66c background=3Dcid:4598FCBC-8CEC-4739-8714-CE4C7E1907D=
E scroll=3Dyes onload=3D"" SIGCOLOR=3D"16777215">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 0px=
; PADDING-BOTTOM: 0px; CURSOR: auto; PADDING-TOP: 0px" width=3D"100%">
<DIV>In the second map you define a SYMBOL object, do you really need it?=
 Maybe if you don`t use it, you get the same effect as the first map...</=
DIV>
<DIV>&nbsp;Regards,</DIV>
<DIV>&nbsp;&nbsp;&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D1>Marcelo Ismael Carrillo Est=E9vez</FON=
T></DIV>
<DIV><FONT face=3DVerdana size=3D1>BAYTEQ C=EDa. Ltda.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D1>09-8813885</FONT><FONT face=3DVerdana =
size=3D1></FONT>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D1>"There's no place like 127.0.0.1"</FON=
T></DIV>
<DIV id=3DIncrediOriginalMessage><I>-------Mensaje original-------</I></D=
IV>
<DIV>&nbsp;</DIV>
<DIV id=3Dreceivestrings>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>De:</B></I> <A href=3D"mai=
lto:David.Fawcett at state.mn.us">David Fawcett</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Fecha:</B></I> 20/07/2004 =
10:04:48</DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Para:</B></I> <A href=3D"m=
ailto:Mapserver-users at lists.gis.umn.edu">Mapserver-users at lists.gis.umn.ed=
u</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Asunto:</B></I> [Mapserver=
-users] Color Bug?</DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV>I have two scale dependent polygon layers that represent counties in=
 MN.</DIV>
<DIV>&nbsp; One displays at scales greater than 2,000,000 and the other l=
ess than</DIV>
<DIV>2,000,000.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am using a MapServer 4.0 beta binary created in 8/2003 on Win2K.</=
DIV>
<DIV>&nbsp;</DIV>
<DIV>Here are the two layer definitions:</DIV>
<DIV>____________________________________________</DIV>
<DIV>LAYER</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;NAME basemap</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;STATUS DEFAULT</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;TYPE POLYGON</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;DATA score</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;MINSCALE 2000000</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;CLASS</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 153 153 153</DIV>
<DIV>&nbsp; &nbsp;&nbsp; COLOR 204 204 153</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;END</DIV>
<DIV>&nbsp;&nbsp;END</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;LAYER</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;NAME basemap</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;STATUS DEFAULT</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;TYPE POLYGON</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;DATA score</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;LABELITEM "NAME"</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;MAXSCALE 2000000</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;CLASS</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 153 153 153&nbsp;&=
nbsp; #An OUTLINECOLOR with no COLOR gives</DIV>
<DIV>same effect as old POLYLINE</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 204 204 153</DIV>
<DIV>&nbsp; &nbsp;&nbsp; SYMBOL 'dashed1'</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL</DIV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IV>&nbsp;&nbsp;END</DIV>
<DIV>_____________________________________________</DIV>
<DIV>&nbsp;</DIV>
<DIV>Both layers have the same COLOR defined, but when the larger scale</=
DIV>
<DIV>layer gets displayed, the color is different, apparently lighter.</D=
IV>
<DIV>&nbsp;</DIV>
<DIV>I have attached two .gif's to demonstrate the problem.&nbsp;&nbsp;ou=
t.gif is a</DIV>
<DIV>view at a smaller scale and in.gif is a larger scale view.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any ideas?&nbsp;&nbsp;Bug or PIBCAK?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>&nbsp;</DIV>
<DIV>David.</DIV>
<DIV>&nbsp;</DIV>
<DIV>David J. Fawcett</DIV>
<DIV>MN Office of Environmental Assistance</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE></BODY></HTML>
--------------Boundary-00=_EEU5LVC0000000000000--

--------------Boundary-00=_EEU5QL80000000000000
Content-Type: Image/gif;
  name="BackGrnd.gif"
Content-ID: <4598FCBC-8CEC-4739-8714-CE4C7E1907DE>
Content-Transfer-Encoding: base64

R0lGODlhxQDRALMAAP////Dt6f3fv/3U1ffXyuPXy+nPv+jRt9HAr53VqbuzqbOspaajnv///wAA
AAAAACH5BAUUAA0ALAAAAADFANEAAAT/sMlJq7046827/2AojmRpnmiqrmzrvnAsz3Rt33h+E0ZP
ELqgcAj6GXlAonLJrPya0GjxSH16rNJss0o4eAXgsNh74F4MSa0aVxW733B4tUFApNd41zHO7/vB
XgsMCHmFKXtwB3+LiwiDWIaRHIhvBwg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Q9nKCoYXXS0V7eKx1baeQzKWHUxkwAkYvHxGH6jFS2bRFD55
pFWmm8jMZjaTF7AqJqxxEcBReNbZwZrotqvN7St266NI/gixwk2uVDbLDNQookGw/1VuXOaCqoGU
417Sza43EscmX0BXu+ANA3Ufgt3wapcvd/tRdM2rlcOMzrnsVa574Tqf4MZXR2I7yHHte99bAQ6u
G+1vWn5jPPgKmCxsg8h3D+zWpmHEwAxur5oUHOAI87FoEIGwhU3pYIzUd8PL7DBceQPiEoYgI2Nd
b4kPcggUs2vFMy2Zi40KY4+sAHvQwWuNwbcxj2wVuTvmcY8zst8ge5UFJbGqkR/yAv79iMZLDkqT
k4wc/q4YYoX9iHDYE2VtYJmCJpGMjrsckS8Hlcg/HjOZtyuDI4rZyv01M3O1DB1srHkeVKLJk+18
52EgRs+CxQac5auDQubiE3wms/+cr6A+0CZ6yYtmdKP1qoza7jjSp8KMYBFt6XPg9iu4eg8YH8vp
TltkrIOOBzWqYgnQlhq4BQFMKoB80tU8tTGN0sdsTYsXSk8m1TWJQk3F8ZpGhXYw0VHzBIWNllbz
erac+TRhszBsbAG3LZgecp+PbIxtZ2Qt1Y6wWbxtELGQW9XFCHd8sXJuKbO73ZzIdg7UTeiN0Du3
8lbQvQcME2bCWwz5XvW/Z9FvMLc74FLYN4cLPhKFiwjheHB43Rg+BUhDHNxBDjXF58zgi7+74xtv
wXWyq/GQixi8Hmf4yBGc8o3fYrolN7keJC7elstcjCs3FjFuTo2X72XnPKe2z9EnBPSg24IKBqGC
0XtSBTLgwgtmWHrIuaB0qVv96ljPuta3zvWugyACADs=

--------------Boundary-00=_EEU5QL80000000000000--



More information about the mapserver-users mailing list