Changes between Initial Version and Version 1 of UserDocs/OgrInfo


Ignore:
Timestamp:
May 25, 2007, 2:19:35 PM (17 years ago)
Author:
maphew
Comment:

tip about including layer when querying shapefiles

Legend:

Unmodified
Added
Removed
Modified
  • UserDocs/OgrInfo

    v1 v1  
     1= The `ogrinfo` utility =
     2  ''The official documentation for the `ogrinfo` utility is http://www.gdal.org/ogr/ogrinfo.html''
     3
     4== -so Summary Only ==
     5  ''supress listing of features, show only the summary information like projection, schema, feature count and extents.''
     6
     7To get this info with shapefiles you must also provide the ``layer`` name, else not much useful is returned, `ogrinfo -so contours.shp`:
     8{{{
     9INFO: Open of `contours.shp'
     10  using driver `ESRI Shapefile' successful.
     111: contours (Line String)
     12}}}
     13
     14Likely what is really wanted is `ogrinfo -so contours.shp` '''`contours`'''
     15
     16{{{
     17INFO: Open of `contours.shp'
     18      using driver `ESRI Shapefile' successful.
     19
     20Layer name: contours
     21Geometry: Line String
     22Feature Count: 3393
     23Extent: (57537.995662, 663561.802226) - (88297.082026, 694443.881449)
     24Layer SRS WKT:
     25PROJCS["Albers",
     26...etc.
     27}}}