class documentation

class OFTInteger(Field):

Known subclasses: django.contrib.gis.gdal.field.OFTInteger64

View In Hierarchy

Undocumented

Class Variable ​_bit64 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.

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 ​_feat Undocumented
Instance Variable ​_index 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.

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
_bit64: bool =

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.