<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>my application offers the possibility to preselect countries that should be displayed on the map. Thus, instead of having all countries, I get only these preselected ones mapped; the others are grayed out. But if a user now uses the query tool and clicks on one of those not-preselected countries, than an mapscript error occurs (naturally). Is there a way to react on such an error warning and continue at another point, so that this "problem" is just ignored and the application can continue to work?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN>if (!$imgbox)</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>$map -&gt; queryByPoint($click_pt, MS_MULTIPLE, -1); // here is then the error</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                </SPAN>else</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                        </SPAN>$map -&gt; queryByRect($click_rt);</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>"<FONT class="Apple-style-span" color="#666666" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><B>Warning</B></SPAN></FONT><FONT class="Apple-style-span" color="#666666" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;">: [MapServer Error]: msQueryByPoint(): No matching record(s) found. in </SPAN></FONT><FONT class="Apple-style-span" color="#666666" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><B>/www/geodataportal/htdocs/mod_map/etc/php/query.php</B></SPAN></FONT><FONT class="Apple-style-span" color="#666666" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"> on line </SPAN></FONT><FONT class="Apple-style-span" color="#666666" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><B>42"</B></SPAN></FONT></DIV><DIV><FONT class="Apple-style-span" color="#666666" face="Verdana" size="3"><SPAN class="Apple-style-span" style="font-size: 11px;"><B><BR class="khtml-block-placeholder"></B></SPAN></FONT></DIV><DIV>Thanks for any help!</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV></BODY></HTML>