<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2719.2200" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Courier size=2><SPAN class=152050114-27092002>Hi 
Mike,</SPAN></FONT></DIV>
<DIV><FONT face=Courier size=2><SPAN class=152050114-27092002>I think the 
problem is in your map file, because the query occures, and returns no 
result.</SPAN></FONT></DIV>
<DIV><FONT face=Courier size=2><SPAN class=152050114-27092002>You should try to 
set up a very simple map file, and see if your query works.</SPAN></FONT></DIV>
<DIV><FONT face=Courier size=2><SPAN class=152050114-27092002>Something like 
this is very basic and should work :</SPAN></FONT></DIV>
<DIV><FONT face=Courier size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Courier size=2>LAYER<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; </SPAN>NAME&nbsp;<SPAN 
class=152050114-27092002>"</SPAN>Ethiopia_Adminlevel1"<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; T</SPAN>YPE POLYGON<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; </SPAN>STATUS ON<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; </SPAN>DATA 
"ethiopia_adminlevel1"<BR><SPAN class=152050114-27092002>&nbsp;&nbsp;&nbsp; 
</SPAN>CLASS<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>NAME 
"Ethiopia"<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>OUTLINECOLOR 128 0 0&nbsp;<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>TEMPLATE "ethiopia_adminlevel1_query.html"</FONT></DIV>
<DIV><FONT><FONT face=Courier><FONT size=2><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; 
</SPAN>END<BR></FONT></FONT></FONT><FONT face=Courier><FONT size=2><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; </SPAN>HEADER 
'ethiopia_adminlevel1_header.html'<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; </SPAN>FOOTER 
'ethiopia_adminlevel1_footer.html'<BR><SPAN 
class=152050114-27092002>&nbsp;&nbsp;&nbsp; </SPAN>TOLERANCE&nbsp;5<SPAN 
class=152050114-27092002></SPAN><BR>END<BR></FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=152050114-27092002>What happens 
then?</SPAN></FONT></DIV>
<DIV><SPAN lang=fr><FONT face=Verdana size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN lang=fr><FONT face=Verdana 
size=2>David&nbsp;Boggio<BR></DIV></FONT></SPAN>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Message d'origine-----<BR><B>De&nbsp;:</B> Mike Smith 
  [mailto:nospam@cnrit.tamu.edu] <BR><B>Envoyé&nbsp;:</B> vendredi 27 septembre 
  2002 13:29<BR><B>À&nbsp;:</B> Gunter.Rieth@stadt.mainz.de; 
  sig@manobi.sn<BR><B>Cc&nbsp;:</B> 
  mapserver-users@lists.gis.umn.edu<BR><B>Objet&nbsp;:</B> Re: Antwort: 
  [mapserver-users] msQueryByPoint(): Search returned no 
  results<BR><BR></FONT></DIV>Thank you two very much for the response, but I 
  have tried this just now and it doesn't change a thing. &nbsp;If anybody's 
  curious to see the page an view what I'm talking about it can be found 
  at:<BR><BR><A class=moz-txt-link-freetext 
  href="http://cnrit.tamu.edu/maps/map_init.html">http://cnrit.tamu.edu/maps/map_init.html</A><BR><BR>When 
  you get to that page, click on the very bottom button...the one that says 
  "(FRAMES VERSION)" on it.<BR><BR>And yes, I'm running mapserver in a "frames" 
  web page, but I'm not using mapscript, just the regular CGI binary. &nbsp;I 
  AM, however, using plenty of Javascript to control my page and that may be 
  where the problem lies. &nbsp;I'm just trying to figure out what I'm not 
  setting properly that's killing my querying ability!<BR><BR>Thanks for the 
  help!<BR><BR><BR><BR><A class=moz-txt-link-abbreviated 
  href="mailto:Gunter.Rieth@stadt.mainz.de">Gunter.Rieth@stadt.mainz.de</A> 
  wrote:<BR>
  <BLOCKQUOTE cite=mid:OF1965CCDF.17CA101D-ONC1256C41.002FC922@stadt.mainz.de 
  type="cite"><BR><FONT face=sans-serif size=2>How about setting </FONT><FONT 
    face="Courier New" size=2>STATUS off</FONT><FONT face=sans-serif size=2> 
    &nbsp; to </FONT><FONT face="Courier New" size=2>STATUS ON or DEFAULT &nbsp; 
    ???</FONT><BR><BR><BR><FONT face="Courier New" 
    size=2>Gunter</FONT><BR><BR><BR><BR>
    <TABLE width="100%">
      <TBODY>
      <TR vAlign=top>
        <TD><BR></TD>
        <TD><FONT face=sans-serif size=1><B>Mike Smith <A 
          class=moz-txt-link-rfc2396E 
          href="mailto:nospam@cnrit.tamu.edu">&lt;nospam@cnrit.tamu.edu&gt;</A></B></FONT><BR><FONT 
          face=sans-serif size=1>Gesendet von: <A class=moz-txt-link-abbreviated 
          href="mailto:owner-mapserver-users@lists.gis.umn.edu">owner-mapserver-users@lists.gis.umn.edu</A></FONT> 

          <P><FONT face=sans-serif size=1>26.09.2002 20:48</FONT><BR></P></TD>
        <TD><FONT face=Arial size=1>&nbsp; &nbsp; &nbsp; &nbsp; 
          </FONT><BR><FONT face=sans-serif size=1>&nbsp; &nbsp; &nbsp; &nbsp; 
          An: &nbsp; &nbsp; &nbsp; 
          &nbsp;mapserver-users@lists.gis.umn.edu</FONT><BR><FONT 
          face=sans-serif size=1>&nbsp; &nbsp; &nbsp; &nbsp; Kopie: &nbsp; 
          &nbsp; &nbsp; &nbsp;</FONT><BR><FONT face=sans-serif size=1>&nbsp; 
          &nbsp; &nbsp; &nbsp; Thema: &nbsp; &nbsp; &nbsp; 
          &nbsp;[mapserver-users] msQueryByPoint(): Search returned no 
          results</FONT></TD></TR></TBODY></TABLE><BR><BR><BR><FONT face="Courier New" 
    size=2>Can somebody please enlighten me as to all the pieces required in 
    order <BR>to make a query happen? &nbsp;I've got one simple mapserver page 
    that allows <BR>queries, but my more advanced page gives me the following 
    error every <BR>time I try to query (or "nquery") 
    anything:<BR><BR>msQueryByPoint(): Search returned no results. No matching 
    record(s) found<BR><BR>I've got the following code in my map file:<BR><BR># 
    Web Object<BR>WEB<BR>&nbsp;HEADER 'frames_header.html'<BR>&nbsp;TEMPLATE 
    'frames.html'<BR>&nbsp;FOOTER 
    'frames_footer.html'<BR>.<BR>.<BR>.<BR>END<BR><BR># Query Map 
    Object<BR>QUERYMAP<BR>&nbsp;SIZE 200 200<BR>&nbsp;STATUS ON<BR>&nbsp;STYLE 
    HILITE<BR>&nbsp;COLOR 51 102 255<BR>END<BR><BR># Layer I'm trying to 
    query<BR>LAYER<BR>&nbsp;NAME "Ethiopia_Adminlevel1"<BR>&nbsp;TYPE 
    Polygon<BR>&nbsp;STATUS off<BR>&nbsp;GROUP Ethiopia<BR>&nbsp;DATA 
    "ethiopia_adminlevel1"<BR>&nbsp;LABELITEM 'Name'<BR>&nbsp;HEADER 
    'ethiopia_adminlevel1_header.html'<BR>&nbsp;FOOTER 
    'ethiopia_adminlevel1_footer.html'<BR>&nbsp;TOLERANCEUNITS 
    kilometers<BR>&nbsp;TOLERANCE 5<BR>&nbsp;DUMP TRUE<BR>&nbsp; &nbsp;CLASSITEM 
    'Name'<BR>&nbsp; &nbsp; &nbsp;CLASS<BR>&nbsp; &nbsp; &nbsp; &nbsp;EXPRESSION 
    'Addis Ababa'<BR>&nbsp; &nbsp; &nbsp; &nbsp;COLOR 210 210 210<BR>&nbsp; 
    &nbsp; &nbsp; &nbsp;OUTLINECOLOR 0 0 0<BR>&nbsp; &nbsp; &nbsp; 
    &nbsp;TEMPLATE 'ethiopia_adminlevel1_query.html'<BR>&nbsp; &nbsp; END 
    &nbsp;# CLASS<BR>.<BR>.<BR>.<BR>END<BR><BR>All the header, footer, and query 
    HTML files exist and have good <BR>variables in them based on what's 
    actually in my shape files, the shapes <BR>show up fine in my map, but I 
    cannot query ANYTHING! &nbsp;Any ideas?!<BR><BR>Thanks in 
    advance!<BR><BR></FONT><BR><BR></BLOCKQUOTE><BR><BR>
  <P><FONT size=2>---<BR>Incoming mail is certified Virus Free.<BR>Checked by 
  AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.391 / Virus 
  Database: 222 - Release Date: 
19/09/2002<BR></FONT></P></BLOCKQUOTE></BODY></HTML>
<BR>

<P><FONT SIZE=2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.391 / Virus Database: 222 - Release Date: 19/09/2002<BR>
</FONT> </P>