[mapserver-users] mapextent of a selected polygon
woodbri at swoodbridge.com
woodbri at swoodbridge.com
Wed Aug 28 08:15:44 PDT 2002
Lionel,
Check out the ShapefileObj Class which allows you to retrieve the the
extents of any object.
check out the http://mapserver.gis.umn.edu/doc/ page and specifically
http://mapserver.gis.umn.edu/doc/phpmapscript-class-guide.html
-Steve
http://iMapTools.com
On 28 Aug 2002 at 9:37, Lionel wrote:
> Hi,
>
> I know it's possible to obtain a layer global mapextent. But do you know if
> it's possible to obtain the mapextent of a selected polygon in a layer. I
> work with phpmapscript and I would like to zoom at an entire polygon (or
> group of polygons) when it's selected by a user.
> Another solution is to store each mapextent of each polygon obtained with
> another software (like arcinfo or grass) in a separate file, but I'd like to
> avoid this and to keep a dynamic method.
> Thanks in advance,
> Lionel
> --
> AgrogeomaTIC
> CNERTA-ENESAD, 4 rue champs-prevois, batiment grand-champs, 21000 Dijon
> 03.80.77.28.49
>
More information about the MapServer-users
mailing list