<!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> </DIV>
<DIV><FONT face=Courier size=2>LAYER<BR><SPAN
class=152050114-27092002> </SPAN>NAME <SPAN
class=152050114-27092002>"</SPAN>Ethiopia_Adminlevel1"<BR><SPAN
class=152050114-27092002> T</SPAN>YPE POLYGON<BR><SPAN
class=152050114-27092002> </SPAN>STATUS ON<BR><SPAN
class=152050114-27092002> </SPAN>DATA
"ethiopia_adminlevel1"<BR><SPAN class=152050114-27092002>
</SPAN>CLASS<BR><SPAN
class=152050114-27092002> </SPAN>NAME
"Ethiopia"<BR><SPAN
class=152050114-27092002>
</SPAN>OUTLINECOLOR 128 0 0 <BR><SPAN
class=152050114-27092002>
</SPAN>TEMPLATE "ethiopia_adminlevel1_query.html"</FONT></DIV>
<DIV><FONT><FONT face=Courier><FONT size=2><SPAN
class=152050114-27092002>
</SPAN>END<BR></FONT></FONT></FONT><FONT face=Courier><FONT size=2><SPAN
class=152050114-27092002> </SPAN>HEADER
'ethiopia_adminlevel1_header.html'<BR><SPAN
class=152050114-27092002> </SPAN>FOOTER
'ethiopia_adminlevel1_footer.html'<BR><SPAN
class=152050114-27092002> </SPAN>TOLERANCE 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> </DIV>
<DIV><SPAN lang=fr><FONT face=Verdana
size=2>David 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 :</B> Mike Smith
[mailto:nospam@cnrit.tamu.edu] <BR><B>Envoyé :</B> vendredi 27 septembre
2002 13:29<BR><B>À :</B> Gunter.Rieth@stadt.mainz.de;
sig@manobi.sn<BR><B>Cc :</B>
mapserver-users@lists.gis.umn.edu<BR><B>Objet :</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. 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. I
AM, however, using plenty of Javascript to control my page and that may be
where the problem lies. 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>
to </FONT><FONT face="Courier New" size=2>STATUS ON or DEFAULT
???</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"><nospam@cnrit.tamu.edu></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>
</FONT><BR><FONT face=sans-serif size=1>
An:
mapserver-users@lists.gis.umn.edu</FONT><BR><FONT
face=sans-serif size=1> Kopie:
</FONT><BR><FONT face=sans-serif size=1>
Thema:
[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? 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> HEADER 'frames_header.html'<BR> TEMPLATE
'frames.html'<BR> FOOTER
'frames_footer.html'<BR>.<BR>.<BR>.<BR>END<BR><BR># Query Map
Object<BR>QUERYMAP<BR> SIZE 200 200<BR> STATUS ON<BR> STYLE
HILITE<BR> COLOR 51 102 255<BR>END<BR><BR># Layer I'm trying to
query<BR>LAYER<BR> NAME "Ethiopia_Adminlevel1"<BR> TYPE
Polygon<BR> STATUS off<BR> GROUP Ethiopia<BR> DATA
"ethiopia_adminlevel1"<BR> LABELITEM 'Name'<BR> HEADER
'ethiopia_adminlevel1_header.html'<BR> FOOTER
'ethiopia_adminlevel1_footer.html'<BR> TOLERANCEUNITS
kilometers<BR> TOLERANCE 5<BR> DUMP TRUE<BR> CLASSITEM
'Name'<BR> CLASS<BR> EXPRESSION
'Addis Ababa'<BR> COLOR 210 210 210<BR>
OUTLINECOLOR 0 0 0<BR>
TEMPLATE 'ethiopia_adminlevel1_query.html'<BR> END
# 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! 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>