[Mapserver-users] Querying specific layers

Mike Leahy mgleahy at hotmail.com
Wed Jun 11 11:43:58 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C33006.5CC160E0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Hello all,

 

I'm using PHP/Mapscript with Mapserver 3.6.6-dev in IIS 5.  I have an
issue where performing queries on a map will highlight objects from all
layers rather than selecting from layers specified in the
"setQueryLayersByName" Mapscript function.  This appears to have no
impact on what the "drawQuery" function for the map object.I'm not sure
if this is something that needs to be changed within the MapScript.
Does anyone have any suggestions on how I can get the map query to only
highlight objects in specific layers?  Perhaps there is a way I could
draw each layer individually, and display the PNGs on top of each
other...

 

Kind regards,

Michael Leahy


------=_NextPart_000_000E_01C33006.5CC160E0
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-CA link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hello all,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;m using PHP/Mapscript with Mapserver <font
color=3Dblack><span style=3D'color:black'>3.6.6-dev in IIS 5. &nbsp;I =
have an issue
where performing queries on a map will highlight objects from all layers =
rather
than selecting from layers specified in the =
&#8220;setQueryLayersByName&#8221; Mapscript
function.&nbsp; This appears to have no impact on what the =
&#8220;drawQuery&#8221;
function for the map object&#8230;I&#8217;m not sure if this is =
something that
needs to be changed within the MapScript.&nbsp; Does anyone have any
suggestions on how I can get the map query to only highlight objects in
specific layers?&nbsp; Perhaps there is a way I could draw each layer
individually, and display the PNGs on top of each =
other...</span></font></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>Kind regards,</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>Michael Leahy</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_000E_01C33006.5CC160E0--



More information about the mapserver-users mailing list