[Mapserver-users] Any way to have the extent set to the MBR of
a layer?
Daniel Morissette
dmorissette@dmsolutions.ca
Wed, 19 May 2004 08:55:29 -0400
Ethan Alpert wrote:
>
> Just curious if there's a way to default the mapext's to be the MBR for
> a given layer.
>
There is no way to do it out of the box, but you can write a function to
do it using MapScript. This function could either scan the layer to
compute the extents or read the extent value from metadata that would be
previously set in the mapfile.
--
------------------------------------------------------------
Daniel Morissette dmorissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users