[Mapserver-users] How to make a transparent

Eduardo Patto Kanegae eduardo at consultoria.eti.br
Fri Sep 19 11:14:35 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_038F_01C37EA7.9798FD50
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0390_01C37EA7.979F17D0"


------=_NextPart_001_0390_01C37EA7.979F17D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to use the attached file as 'transparent' image symbol for =
the marker property of a reference object( just to use it when the box =
of the reference map becomes to small). but when this image is put above =
the reference image the green color( 0 255 0 ) appears and this is not =
what a want.

what could be wrong?


here's my definitions:

REFERENCE
  COLOR   -1 -1 -1
  EXTENT   287528.057 7448880.413 307646.211 7465883.279
  IMAGE   "..\mapitems\references\reference.png"
  MARKER    "MARKER"
  OUTLINECOLOR 255 0 0
  SIZE   176 132=20
  STATUS   ON
  MAXBOXSIZE  176
 END

SYMBOL
 NAME "MARKER"
 IMAGE =
"D:\local\apache_htdocs\webimoveis\mapitems\symbols\sym_refmap_marker.png=
"
 TRANSPARENT 1
 TYPE PIXMAP
END

Eduardo Patto Kanegae
eduardo at consultoria.eti.br
http://www.consultoria.eti.br - Brasil
------=_NextPart_001_0390_01C37EA7.979F17D0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm trying to use the attached file as=20
'transparent' image symbol for the marker property of a reference =
object( just=20
to use it when the box of the reference map becomes to small). but when =
this=20
image is put above the reference image the green color( 0 255 0 ) =
appears and=20
this is not what a want.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>what could be wrong?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>here's my definitions:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>REFERENCE<BR>&nbsp;&nbsp;COLOR&nbsp;&nbsp;&nbsp;-1=20
-1 -1<BR>&nbsp;&nbsp;EXTENT&nbsp;&nbsp;&nbsp;287528.057 7448880.413 =
307646.211=20
7465883.279<BR>&nbsp;&nbsp;IMAGE&nbsp;&nbsp;&nbsp;"..\mapitems\references=
\reference.png"<BR>&nbsp;&nbsp;MARKER&nbsp;&nbsp;&nbsp;&nbsp;"MARKER"<BR>=
&nbsp;&nbsp;OUTLINECOLOR&nbsp;255=20
0 0<BR>&nbsp;&nbsp;SIZE&nbsp;&nbsp;&nbsp;176=20
132&nbsp;<BR>&nbsp;&nbsp;STATUS&nbsp;&nbsp;&nbsp;ON<BR>&nbsp;&nbsp;MAXBOX=
SIZE&nbsp;&nbsp;176<BR>&nbsp;END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>SYMBOL<BR>&nbsp;NAME =
"MARKER"<BR>&nbsp;IMAGE=20
"D:\local\apache_htdocs\webimoveis\mapitems\symbols\sym_refmap_marker.png=
"<BR>&nbsp;TRANSPARENT=20
1<BR>&nbsp;TYPE PIXMAP<BR>END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Eduardo Patto Kanegae<BR><A=20
href=3D"mailto:eduardo at consultoria.eti.br">eduardo at consultoria.eti.br</A>=
<BR><A=20
href=3D"http://www.consultoria.eti.br">http://www.consultoria.eti.br</A> =
-=20
Brasil</FONT></DIV></BODY></HTML>

------=_NextPart_001_0390_01C37EA7.979F17D0--

------=_NextPart_000_038F_01C37EA7.9798FD50
Content-Type: image/png;
	name="sym_refmap_marker.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="sym_refmap_marker.png"

iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlz
AAAOxAAADsQBlSsOGwAAAJFJREFUKFNjYPjPgIYOJiU9V1A4raDQnpQElcJU8V9a+r+dHZC8wMAA
VYemCGgGSAUQ2Nl9YmDIUlAAKUBTBLQF2STsioDmA20BmgEkY3BZBzS4OigoTUoKaAZOhwMVtba3
o3sZjb9g9eq+yZMJKOqdOHHJxo34FK3csaOzpwczeFGCYNLMmUDrCCjC4hpwpAEAhYOcjpnnxhIA
AAAASUVORK5CYII=

------=_NextPart_000_038F_01C37EA7.9798FD50--




More information about the mapserver-users mailing list