<DIV>
<DIV>follow-up:</DIV>
<DIV>The scenario mention in the previous message only happens when I mix shapefile layers with postgis layers. If all layers are turned off except the postgis layer, the drawquery() function works perfectly regardless of the bbox size. I am still searching for any info on how the drawquery() interacts with the layers and why it fails with different data types. <BR><BR><BR><B><I>Damian Schroder &lt;map_surfer@yahoo.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>Dear list, </DIV>
<DIV>&nbsp;</DIV>
<DIV>I have researched this high and low and come up empty. Please help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>In my map application, the&nbsp;drawquery() function fails when a bounding box is is below a certain size. Currently, my map is in Geographic (dd). The drawquery() fails when the the hieght or width of the bbox&nbsp;is below 1.5 degrees (at full extent the height and width of the bbox is 115 pixels, mapsize is 450x450 pixel, so it is not a tiny rectangle). The drawquery() only fails with postgis layers. When it does fail I still receive query results. If I draw a bbox large enough, everything works perfectly. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I am using:</DIV>
<DIV>mapserver 4.0.1<BR>postgres 7.3.3<BR>postgis 0.7.5</DIV>
<DIV>rosa applet</DIV>
<DIV>Mapscript/PHP</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is there some tolerance control I neet to edit? Is there coarse rounding with the pixel to geographic conversion with the drawquery() function?Any ideas or suggestion would be greatly appreciated.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Damian Schroder<BR></DIV>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/">Free Pop-Up Blocker - Get it now</A></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/slv/mailtag/*http://companion.yahoo.com/">Free Pop-Up Blocker - Get it now</a>