[Mapserver-users] Transparency on Querymap hilite

Bernd Deckert bernd.deckert at wanadoo.fr
Fri Mar 14 04:49:57 PST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0012_01C2EA30.99588400
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Listmembers,

The final client of my cartographic intranet solution whishes =
transparency on the queried geographic objects to "see behind the =
objects".

Is there a way to apply a TRANSPARENCY on "HILITE" of QUERYMAP in =
mapfile.=20
Probably not...
Is there an other way to obtain a sort of "transparency effect" (without =
changing the layer properties) .
Thanks a lot=20
                Bernd

++++++++++++++++++++++++++++++++++++++++++++++++
  QUERYMAP
    COLOR 255 0 0
    STYLE HILITE
  END


The layers is something like this

LAYER
 TRANSPARENCY 50
 NAME "Rn"
 GROUP "Nature"
  METADATA
      "LYRNAME" "Réserve naturelle nationale"
      "CHAMPSSIG" "ID;Intitule_decret;SURFACE_SIG_km2"
      "IDSIGIDBD" "ID"
  END
    STATUS ON
    CONNECTIONTYPE OGR
    CONNECTION "../../data/Rn_lr.TAB"
    TOLERANCE 5
    TYPE POLYGON
    CLASS
      NAME "Rn1"
      COLOR 49 193 34
      OUTLINECOLOR 143 143 143
      TEMPLATE "ttt_query.html"
    END
  END
++++++++++++++++++++++++++++++++++++++++++++++++





------=_NextPart_000_0012_01C2EA30.99588400
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.2600.0" name=3DGENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt =
72.0pt 90.0pt; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
P {
	FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: =
"Times New Roman"
}
SPAN.emailstyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
SPAN.EmailStyle19 {
	FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=3DEN-GB vLink=3Dpurple link=3Dblue bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear Listmembers,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The final client of my cartographic =
intranet=20
solution whishes transparency on the queried geographic =
objects to=20
"see behind the objects".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Is there a way to apply =
a TRANSPARENCY on=20
"HILITE" of QUERYMAP in mapfile. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Probably not...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there an other way to obtain a =
sort of=20
"transparency effect" (without changing the layer properties)=20
.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks a lot </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>       =20
        Bernd</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>++++++++++++++++++++++++++++++++++++++++++++++++</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>  QUERYMAP<BR>    =
COLOR 255 0=20
0<BR>    STYLE HILITE<BR>  END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The layers is something like =
this</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>LAYER<BR> TRANSPARENCY =
50<BR> NAME=20
"Rn"<BR> GROUP =
"Nature"<BR>  METADATA<BR>   =20
  "LYRNAME" "R&eacute;serve naturelle=20
nationale"<BR>      "CHAMPSSIG"=20
"ID;Intitule_decret;SURFACE_SIG_km2"<BR>   =20
  "IDSIGIDBD" "ID"<BR>  END<BR>    =
STATUS=20
ON<BR>    CONNECTIONTYPE OGR<BR>    =
CONNECTION=20
"../../data/Rn_lr.TAB"<BR>    TOLERANCE =
5<BR>   =20
TYPE POLYGON<BR>    =
CLASS<BR>      NAME=20
"Rn1"<BR>      COLOR 49 193=20
34<BR>      OUTLINECOLOR 143 143=20
143<BR>      TEMPLATE=20
"ttt_query.html"<BR>    END<BR>  END</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>++++++++++++++++++++++++++++++++++++++++++++++++</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>

------=_NextPart_000_0012_01C2EA30.99588400--





More information about the MapServer-users mailing list