[ka-Map-users] Zoom To Layer

Lucian Bancescu lucianb at simga.com
Tue Sep 12 08:17:18 EDT 2006


oops! i'm resending plain text

A pretty straightforward way to obtain the extent of a layer is using 
ogrinfo, which comes with gdal-ogr tool.
A possible usage:
/
ogrinfo /path/to/shapefiles   layername | grep Extent/

Wagner, Jeffrey S. (DMS/CISD) wrote:
>
> Is it possible to get the extents of a layer?  I'd like to add a "zoom 
> to layer" link in the legend....
>
>  
>
> Thanks,
> Jeff
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20060912/ba2ad652/attachment.html


More information about the ka-Map-users mailing list