[Mapserver-users] tolerance for bbox with postgis layers
Damian Schroder
map_surfer at yahoo.com
Tue Nov 25 08:52:03 PST 2003
--0-2104707238-1069779123=:51893
Content-Type: text/plain; charset=us-ascii
follow-up:
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.
Damian Schroder <map_surfer at yahoo.com> wrote:
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
---------------------------------
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
--0-2104707238-1069779123=:51893
Content-Type: text/html; charset=us-ascii
<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 <map_surfer at yahoo.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>Dear list, </DIV>
<DIV> </DIV>
<DIV>I have researched this high and low and come up empty. Please help.</DIV>
<DIV> </DIV>
<DIV>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. </DIV>
<DIV> </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> </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> </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>
--0-2104707238-1069779123=:51893--
More information about the MapServer-users
mailing list