Re: [gdal-dev] Querying Field Names

2010-02-25 Thread Chaitanya kumar CH
Stacy, This should help: http://trac.osgeo.org/gdal/browser/trunk/autotest/ogr/ogr_shape.py#L1384 On Fri, Feb 26, 2010 at 8:25 AM, Livingstone wrote: > > Hi, > > I'm using Python to do some work with shape files, with GDAL/OGR, although > I > am not particularly experienced in GIS programming (

[gdal-dev] Querying Field Names

2010-02-25 Thread Livingstone
Hi, I'm using Python to do some work with shape files, with GDAL/OGR, although I am not particularly experienced in GIS programming (so I apologise for any incorrect terminology, etc.). What I need to do is retrieve the list of field names in the shape file; fields can be queried by name or row n