[Mapserver-users] Transparency on Querymap hilite

Bernd Deckert bernd.deckert at wanadoo.fr
Fri Mar 14 07:49:57 EST 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&nbsp;Listmembers,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The final client of my cartographic =
intranet=20
solution whishes transparency&nbsp;on the queried&nbsp;geographic =
objects to=20
"see behind the objects".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a&nbsp;way to apply =
a&nbsp;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&nbsp;a =
sort of=20
"transparency effect"&nbsp;(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>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Bernd</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>++++++++++++++++++++++++++++++++++++++++++++++++</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; QUERYMAP<BR>&nbsp;&nbsp;&nbsp; =
COLOR 255 0=20
0<BR>&nbsp;&nbsp;&nbsp; STYLE HILITE<BR>&nbsp; END</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>The layers is something like =
this</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>LAYER<BR>&nbsp;TRANSPARENCY =
50<BR>&nbsp;NAME=20
"Rn"<BR>&nbsp;GROUP =
"Nature"<BR>&nbsp;&nbsp;METADATA<BR>&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;"LYRNAME" "R&amp;eacute;serve naturelle=20
nationale"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;"CHAMPSSIG"=20
"ID;Intitule_decret;SURFACE_SIG_km2"<BR>&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;"IDSIGIDBD" "ID"<BR>&nbsp;&nbsp;END<BR>&nbsp;&nbsp;&nbsp; =
STATUS=20
ON<BR>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<BR>&nbsp;&nbsp;&nbsp; =
CONNECTION=20
"../../data/Rn_lr.TAB"<BR>&nbsp;&nbsp;&nbsp; TOLERANCE =
5<BR>&nbsp;&nbsp;&nbsp;=20
TYPE POLYGON<BR>&nbsp;&nbsp;&nbsp; =
CLASS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME=20
"Rn1"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 49 193=20
34<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 143 143=20
143<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE=20
"ttt_query.html"<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp; END</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>++++++++++++++++++++++++++++++++++++++++++++++++</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></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

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





More information about the mapserver-users mailing list