How does MapServer query database

Jackey Cheung cheung.jackey at GMAIL.COM
Mon Apr 9 02:01:25 PDT 2007


Greetings!

I'm wondering, how does MapServer retrieve data from database?

Say, I've got a database table with around 10 million records including points, lines, and polygons. I am drawing a line layer in the scale of 1:100K. In such scale, many lines won't be visible on the map, and there is a field that controls the visible scale of objects in the database. How can I make MapServer retrieves only necessary lines from the database instead of selecting all lines? This shouldn't be tough if I use MapScript, but Java/MapScript keeps crashing tomcat so have to give it up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070409/62b97fdd/attachment.htm>


More information about the MapServer-users mailing list