[Gdal-dev] ogrinfo metadata output

Frank Warmerdam warmerdam at pobox.com
Thu Mar 2 12:34:10 EST 2006


Markus Neteler wrote:
>> Frank,
> 
> thanks, summary is back but not the metadata (I did make distclean):
> 
> ogrinfo /tmp/pollo_pat.shp
> INFO: Open of `/tmp/pollo_pat.shp'
> using driver `ESRI Shapefile' successful.
> 1: pollo_pat (Point)
> 
> ogrinfo -so /tmp/pollo_pat.shp
> INFO: Open of `/tmp/pollo_pat.shp'
> using driver `ESRI Shapefile' successful.
> 1: pollo_pat (Point)
> 
> 
> ogrinfo -summary /tmp/pollo_pat.shp
> INFO: Open of `/tmp/pollo_pat.shp'
> using driver `ESRI Shapefile' successful.
> 1: pollo_pat (Point)
> 
> ls -la /tmp/pollo_pat.prj
> -rw-------  1 neteler ssi 436 Feb 28 13:27 /tmp/pollo_pat.prj
> 
> In earlier days (end of last year?) also the projection
> was shown which is quite important (for me).

Markus,

Did ogrinfo really show details about the layers with specifying
the layers to report on?  I don't recall that.

I use "ogrinfo -so -al -ro <datasourcename>" when I want a "summary only"
report of "all layers" in "readonly" mode.


Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list