[mapserver-users] php/mapscipt getExtent

alim karim alim.karim at gmail.com
Tue Apr 22 17:52:04 EDT 2008


hello all.

i have a PostGIS layer (without its extents specified) in a mapfile.

i am trying to use getExtent on this layer, but the coordinates i get back
(["minx":-25000000,"miny":-25000000,"maxx":25000000,"maxy":25000000]) are
not the correct extents([1180204.375000, 809428.750000,1222443.000000,
857276.187500)]).

is there a way to get the proper extents of a layer even though they might
not be specified in the mapfile?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080422/a25b9c13/attachment.html


More information about the mapserver-users mailing list