[Mapserver-users] tolerance for bbox with postgis layers

Damian Schroder map_surfer at yahoo.com
Tue Nov 25 11:22:46 EST 2003


--0-1050422407-1069777366=:57633
Content-Type: text/plain; charset=us-ascii

Dear list, 
 
I have researched this high and low and come up empty. Please help.
 
In my map application, the 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 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. 
 
I am using:
mapserver 4.0.1
postgres 7.3.3
postgis 0.7.5
rosa applet
Mapscript/PHP
 
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.
 
Thanks,
Damian Schroder



---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
--0-1050422407-1069777366=:57633
Content-Type: text/html; charset=us-ascii

<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>
--0-1050422407-1069777366=:57633--



More information about the mapserver-users mailing list