<div>Hi Ed,</div>
<div>&nbsp;</div>
<div>In your map file do you have the TEMPLATE variable defined for the layer? If you don't define this variable then the layer can't be queried. You can set the variable to any value</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; e.g. TEMPLATE &quot;dummyval&quot;</div>
<div>&nbsp;</div>
<div>Aaron<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/9/05, <b class="gmail_sendername">Steve Lime</b> &lt;<a href="mailto:steve.lime@dnr.state.mn.us">steve.lime@dnr.state.mn.us</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Ed: Sounds like the layer is queryable. What sort of a tolerance do you have<br>defined for the layer in question?
<br><br>Steve<br><br>&gt;&gt;&gt; Edward Nuttall &lt;<a href="mailto:ewnuttall@QINETIQ.COM">ewnuttall@QINETIQ.COM</a>&gt; 12/09/05 6:00 AM &gt;&gt;&gt;<br>Dear list<br><br>I am getting the following response to a map query when I click on one of
<br>the points in a postgis layer. It seems that MapServer recognises that I<br>have clicked on a point, because if I miss I get the<br>standard &quot;msQueryByPoint(): Search returned no results. No matching record<br>(s) found&quot; message, it just doesn't seem to be using the template when I do
<br>hit the points.<br><br>any help much appreciated<br><br>Ed<br><br><br>Content-type: text/html<br><br>&lt;HTML&gt;<br>&lt;HEAD&gt;&lt;TITLE&gt;MapServer Message&lt;/TITLE&gt;&lt;/HEAD&gt;<br>&lt;!-- MapServer version 4.6.0
 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP<br>OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER<br>SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7<br>INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE --&gt;
<br>&lt;BODY BGCOLOR=&quot;#FFFFFF&quot;&gt;<br>&lt;/BODY&gt;&lt;/HTML&gt;<br></blockquote></div><br>