[mapserver-users] extent/bbox of raster image

Subha Ramakrishnan subha at gslab.com
Wed May 6 00:43:02 EDT 2009


Hi,

I have a raster image which is displayed on Google base map (Openlayers 
2.7) using  Mapserver 5.0.2.
Is it possible for me to get the extent or bounding box of the image, so 
that I can zoom to that area once the layer is loaded?

I have this functionality for vector data where i can get the extent 
using the postgis function from the DB.
So whenever a layer is loaded, the map zooms to the extent of the layer.
I want to support the same for raster data. Is it possible?

Thanks for any help.

Subha


More information about the mapserver-users mailing list