class documentation
class OFTInteger(Field): (source)
Known subclasses: django.contrib.gis.gdal.field.OFTInteger64
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 |
Retrieve the Field's value as a tuple of date & time components. |
Method | as |
Retrieve the Field's value as a double (float). |
Method | as |
Retrieve the Field's value as an integer. |
Method | as |
Retrieve the Field's value as a string. |
Instance Variable | __class__ |
Undocumented |
Instance Variable | ptr |
Undocumented |
Property | is |
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 |
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 |
Undocumented |
Class Variable | destructor |
Undocumented |
Instance Variable | _ptr |
Undocumented |
overrides
django.contrib.gis.gdal.field.Field.type
GDAL uses OFTReals to represent OFTIntegers in created shapefiles -- forcing the type here since the underlying field type may actually be OFTReal.