[mapserver-users] Re: php/mapscipt getExtent

alim karim alim.karim at gmail.com
Wed Apr 23 10:57:00 PDT 2008


as per mapserver 4.4 release notes:

- Layers now accept an EXTENT through the mapfile (bug 786). Nothing
  is done with it at this point, and getExtent still queries the
  datasource rather than getting information from the mapfile-specified
  extent.


it seems as though getExtent is not behaving as described above. has anyone
else experienced this behavior?




On Tue, Apr 22, 2008 at 2:52 PM, alim karim <alim.karim at gmail.com> wrote:

> 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/20080423/b7359946/attachment.htm>


More information about the MapServer-users mailing list