[Gdal-dev] ogrinfo metadata output

Markus Neteler neteler at itc.it
Thu Mar 2 12:41:56 EST 2006


On Thu, Mar 02, 2006 at 11:14:52AM -0600, Pericles S. Nacionales wrote:
> Hi Markus, Frank,
> 
> I think what Markus wants is something like this:
> ogrinfo -so -al /tmp/pollo_pat.shp
> 
> Is that correct Markus?
 
Perry,

yes, right. Then I change my suggestion to "make it easier",
the -al step is one too much IMHO.

Markus

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

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy



More information about the Gdal-dev mailing list