<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1><pre style='line-height:14.4pt'><font size=2 color=black
face="Times New Roman"><span style='font-size:10.0pt;font-family:"Times New Roman";
color:black'>Hi all,<o:p></o:p></span></font></pre><pre style='line-height:
14.4pt'><font size=2 color=black face="Times New Roman"><span style='font-size:
10.0pt;font-family:"Times New Roman";color:black'><o:p>&nbsp;</o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>I have a problem with PHP mapscript queryByPoint function. <o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>map-&gt;queryByPoint($XY_geo, MS_MULTIPLE, $searchArea);<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'><o:p>&nbsp;</o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>I'm getting a general error:<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>Warning: [MapServer Error]: msQueryByPoint(): No matching record(s) found.<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'><o:p>&nbsp;</o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>I played with this too long and I've found that something is wrong with my layer MAXSCALE value in my map file.<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>When I do not use MAXSCALE for querying layer everything works fine. I want to display that layer only when zooming close enough, but I want to query that layer all the time. <o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>When I'm using quryByRectangle it works fine all the time. Is it mean that queryByRectangle does not care about MAXSCALE of layer and queryByPoint does?<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'><o:p>&nbsp;</o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>I have one work around solution. I can remove function queryByPoint and use only queryByRectangle. But I really would like to know, why it is working<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>differently for mentioned two functions.<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'><o:p>&nbsp;</o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>Thank you for your ideas.<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'><o:p>&nbsp;</o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>Marek Pisch<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'>Software Developer<o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><st1:place w:st="on"><st1:City w:st="on"><font
  size=2 color=black face="Times New Roman"><span style='font-size:10.0pt;
  font-family:"Times New Roman";color:black'>Calgary</span></font></st1:City><font
 size=2 color=black face="Times New Roman"><span style='font-size:10.0pt;
 font-family:"Times New Roman";color:black'>, <st1:State w:st="on">AB</st1:State>, <st1:country-region
 w:st="on">Canada</st1:country-region></span></font></st1:place><font size=2
color=black face="Times New Roman"><span style='font-size:10.0pt;font-family:
"Times New Roman";color:black'><o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'><a
href="http://members.shaw.ca/marekpisch" target="_blank">http://members.shaw.ca/marekpisch</a><o:p></o:p></span></font></pre><pre
style='line-height:14.4pt'><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;font-family:"Times New Roman";color:black'><o:p>&nbsp;</o:p></span></font></pre></div>

</body>

<!--[object_id=#claero.com#]--><FONT face=Tahoma>
<P><FONT face="Times New Roman"><FONT color=#808080><BR>*** June 2005 Claero Systems News ***</FONT><BR>- Claero Solutions launches FIRE, an oil field invoicing system </FONT><U><FONT face="Times New Roman" color=#000000><A href="http://www.fieldinvoice.com">http://www.fieldinvoice.com</A></FONT></U><BR><FONT face="Times New Roman">- welcome 3 new employees: Fieran Mason-Blakley, Gavin Ostlund, and Marek Pisch<BR>- welcome 2 new clients: Centini's Restaurant and Bridget Dunford (Independent Film Editor)</FONT> </P></FONT></html>