[Gdal-dev] OGR python FeatureDefn constructor

Julien Demaria dem at acri-st.fr
Wed Mar 31 02:47:55 EST 2004


Hi,

In ogr.py, the FeatureDefn constructor use an undeclared "name" attribute :

class FeatureDefn:

     def __init__(self,obj=None):
         if obj is None:
             self._o = _gdal.OGR_FD_Create( name )
         else:
             self._o = obj


Regards,

Julien




More information about the Gdal-dev mailing list