map EXTENT

Brant Anderson brant at MUDLABS.COM
Tue Aug 24 19:46:25 EDT 2004


Hi Oliver,

There is a tool called 'ogrinfo' included with the GDAL package. It is
very handy.

To get a summary of 'dlgstlndoug.shp' I would type:
ogrinfo dlgstlndoug.shp dlgstlndoug -so

The output would be:
INFO: Open of `dlgstlndoug.shp'
using driver `ESRI Shapefile' successful.

Layer name: dlgstlndoug
Geometry: Line String
Feature Count: 403
Extent: (285509.105030, 5069677.370139) - (334172.948552,
5109545.047051)  <-- This is the EXTENT value (minx, miny) - (maxx, maxy)
Layer SRS WKT:
(unknown)
FNODE_: Integer (9.0)
TNODE_: Integer (9.0)
LPOLY_: Integer (9.0)
RPOLY_: Integer (9.0)
LENGTH: Real (19.11)
DLGSTLNDOU: Integer (9.0)
DLGSTLND_1: Integer (9.0)
USCLASS: Integer (6.0)
FLOW: Integer (1.0)
S1: Real (6.1)
S2: Real (6.1)
S3: Real (6.1)
S4: Real (6.1)
S5: Real (6.1)
S6: Real (6.1)
S7: Real (6.1)
S8: Real (6.1)
S9: Real (6.1)
S10: Real (6.1)
ZONE: String (5.0)
TROUT: String (2.0)
WSR: String (1.0)
PWI: String (1.0)
STREAM__: String (60.0)
UNSPLIT_IT: String (77.0)


Hope that helps!

Brant Anderson



Oliver Ishmael wrote:

> Hi Guys,
>
> How do i find out the EXTENT of my map?
>
> Any help greatly appreciated!
>
> Cheers
> Oliver Ishmael
>
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger today!
> http://www.msn.co.uk/messenger
>



More information about the mapserver-users mailing list