class Feature(GDALBase):
Method | __eq__ |
Do equivalence testing on the features. |
Method | __getitem__ |
No summary |
Method | __init__ |
Initialize Feature from a pointer and its Layer object. |
Method | __len__ |
Return the count of fields in this feature. |
Method | __str__ |
The string name of the feature. |
Method | get |
Return the value of the field, instead of an instance of the Field object. May take a string of the field name or a Field object as parameters. |
Method | index |
Return the index of the given field name. |
Instance Variable | _layer |
Undocumented |
Instance Variable | ptr |
Undocumented |
Property | encoding |
Undocumented |
Property | fid |
Return the feature identifier. |
Property | fields |
Return a list of fields in the Feature. |
Property | geom |
Return the OGR Geometry for this Feature. |
Property | geom_type |
Return the OGR Geometry Type for this Feature. |
Property | layer_name |
Return the name of the layer for the feature. |
Property | num_fields |
Return the number of fields in the Feature. |
Inherited from CPointerBase
(via GDALBase
):
Method | __del__ |
Free the memory used by the C++ object. |
Method | ptr.setter |
Undocumented |
Class Variable | destructor |
Undocumented |
Instance Variable | _ptr |
Undocumented |
get
method instead to
retrieve the value (e.g. an integer) instead of a Field instance.