exterior_ring An alias for shell.
max_y The value of the maximum Y coordinate.
fields Returns a list of the names of the fields of data associated with the feature. This will be the same for all features
geotransform The affine transformation matrix used to georeference the source, as a tuple of six coefficients which map pixel/line
__getitem__(target) Returns the value of the given string attribute node, None if the node doesn’t exist. Can also
fields Returns a list of the names of each of the fields in this layer:
class DataSource(ds_input, encoding='utf-8') The constructor for DataSource only requires one parameter: the path
num_fields Returns the number of fields of data associated with the feature. This will be the same for all features in a given
layer_count Returns the number of layers in the data source.
fid Returns the feature identifier within the layer: >>>
Page 4 of 18