Or you could turn tracing on at the database side to see what SQL requests it receives? I'm only familiar with oracle, but you could do this in Oracle using the 'alter system set sql_trace=true' command and checking the udump directoty for logs.<br>
<br><div><span class="gmail_quote">On 18/04/2008, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Apr 18, 2008 at 12:31:24PM -0500, P Kishor wrote:<br> > SELECT wkt_geometry FROM <table> WHERE <extent of features is in the BBOX><br> ><br> > That is what I want to investigate. What exactly is OGR/MapServer<br>
> executing? What is the form of "WHERE <extent of features in the<br> > BBOX>"? How can I log this level of detail?<br> <br> <br>You'll likely need to modify OGR to log this level of detail. In<br>
general, this type of logging is done by the 'server' in DB<br> environments: Since SQLIte doesn't *have* a server, I don't think<br> there's any way to do this external to OGR, and I don't believe that<br>
it's an existing feature of the OGR sqlite driver.<br> <br> In any case, MapServer is the wrong list for this: gdal-dev is probably<br> the right place to go.<br> <br> Regards,<br> <br>--<br> Christopher Schmidt<br> MetaCarta<br>
<br>_______________________________________________<br> mapserver-users mailing list<br> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>