class DataSource(ds_input, encoding='utf-8') The constructor for DataSource only requires one parameter: the path
height The height of the band in pixels (Y-axis).
ewkt Returns the EWKT representation of this geometry.
max The maximum pixel value of the band (excluding the “no data” value).
class GDALRaster(ds_input, write=False) The constructor for GDALRaster accepts two parameters. The first parameter
boundary() The boundary of this geometry, as a new OGRGeometry object.
class Driver(dr_input) The Driver class is used internally to wrap an OGR DataSource driver.
precision Returns the numeric precision of this field. This is meaningless (and set to zero) for non-numeric fields:
wkb Returns a buffer containing a WKB representation of this geometry.
add(geom) Adds a geometry to this geometry collection. Not applicable to other geometry types.
Page 4 of 18