[ka-Map-users] Zoom To Layer

Ryan Ollerenshaw ollerery at engr.orst.edu
Tue Sep 12 10:56:34 EDT 2006


Lucian Bancescu wrote:
> 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
> /

Can you provide the MapScript to add to a layer so each layer has it own 
extent?


More information about the ka-Map-users mailing list