[Gdal-dev] ogrinfo metadata output

Pericles S. Nacionales naci0002 at umn.edu
Thu Mar 2 12:14:52 EST 2006


Hi Markus, Frank,

I think what Markus wants is something like this:
ogrinfo -so -al /tmp/pollo_pat.shp

Is that correct Markus?

-Perry

On Thursday 02 March 2006 10:49, Markus Neteler wrote:
> 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
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev

-- 
Pericles S. Nacionales
Conservation Biology Program
University of Minnesota
e-mail: naci0002 at umn.edu



More information about the Gdal-dev mailing list