gdaldriver

Driver for GDAL supported files

class pylidar.gdaldriver.GDALDriver(fname, mode, controls, userClass)[source]

This driver supports reading and writing of raster data using GDAL.

close()[source]

Calculate stats etc

getData()[source]

Read a 3d numpy array with data for the current extent

getPixelGrid()[source]

Get the pixel grid for this file

setData(data)[source]

Write a 3d numpy array to the image

setExtent(extent)[source]

Set the extent for the next read or write. Convert from world coords to file coords.

setPixelGrid(pixGrid)[source]

Set the pixel grid to use for this new file

exception pylidar.gdaldriver.GDALException[source]

An exception that is raised by this driver