class documentation

Undocumented

Property type GDAL uses OFTReals to represent OFTIntegers in created shapefiles -- forcing the type here since the underlying field type may actually be OFTReal.
Property value Return an integer contained in this field.
Class Variable _bit64 Undocumented

Inherited from Field:

Method __init__ Initialize on the feature object and the integer index of the field within the feature.
Method __str__ Return the string representation of the Field.
Method as_datetime Retrieve the Field's value as a tuple of date & time components.
Method as_double Retrieve the Field's value as a double (float).
Method as_int Retrieve the Field's value as an integer.
Method as_string Retrieve the Field's value as a string.
Instance Variable __class__ Undocumented
Instance Variable ptr Undocumented
Property is_set Return True if the value of this field isn't null, False otherwise.
Property name Return the name of this Field.
Property precision Return the precision of this Field.
Property type_name Return the OGR field type name for this Field.
Property width Return the width of this Field.
Instance Variable _feat Undocumented
Instance Variable _index Undocumented

Inherited from CPointerBase (via Field, GDALBase):

Method __del__ Free the memory used by the C++ object.
Method ptr.setter Undocumented
Class Variable destructor Undocumented
Instance Variable _ptr Undocumented

GDAL uses OFTReals to represent OFTIntegers in created shapefiles -- forcing the type here since the underlying field type may actually be OFTReal.

Return an integer contained in this field.