[Gdal-dev] ogrinfo metadata output

Markus Neteler neteler at itc.it
Thu Mar 2 11:49:23 EST 2006


On Thu, Mar 02, 2006 at 10:44:30AM -0500, Frank Warmerdam wrote:
> Markus Neteler wrote:
> >Frank,
> >
> >I observed that the -summary flag is gone in 'ogrinfo'.
> >It would be VERY useful to display some metadata:
> ...
> >Do you see a chance to modify the standard output?
> 
> Markus,
> 
> Sorry, the commandline processing was fixed up a bit and after
> that only -so was accepted.  I didn't realize that it was once
> used as -summary since I always just use -so.
> 
> I have modified the code to accept either -so or -summary for this.

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).

Thanks

 markus



More information about the Gdal-dev mailing list