[Gdal-dev] ogrinfo and sql option

matt.pettis at thomson.com matt.pettis at thomson.com
Mon Oct 23 12:23:42 EDT 2006

They do... I'm trying this all out on windows xp, so I'll have to
modify, but those are good ideas.


-----Original Message-----
From: Bryan Keith [mailto:bryan at geomega.com] 
Sent: Monday, October 23, 2006 11:21 AM
To: Pettis, Matthew (TLR Corp)
Cc: gdal-dev at lists.maptools.org
Subject: Re: [Gdal-dev] ogrinfo and sql option


I don't know if you can do that with an sql string or where clause in
ogrinfo, but you could use grep to remove all ogrinfo output that
contained the word LINESTRING, e.g.:

ogrinfo myfile.shp -al | grep LINESTRING -v

I also sometimes use a tool called dbview to look at data in dbf files. 
  Maybe those ideas help.


matt.pettis at thomson.com wrote:
> Is there a way to use ogrinfo to get a listing of just the .dbf 
> attribute values without listing the line/polygon coordinates with
> my coordinate sets are large, and i am interested in exploring the 
> .dbf values of my shapefiles.
> Thanks,
> Matt
> ----------------------------------------------------------------------
> --
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev

More information about the Gdal-dev mailing list