So you get the extent like SELECT st_extent(geom) FROM table WHERE criteria to a PERL script to make a WMS request with the extent, am I right ?
Yup. I can’t figure out how to pull the extents out of a SQL through a Mapfile CGI request though, if it’s even doable. I can’ center the view with a Info request to the WMS, but I can’t seem to get the zoom factor to change in any way.
"Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth."