imageio

This file contains definitions that are common to all the image reading and writing modules

class rios.imageio.Coord(x, y)[source]

a simple class that contains one coord

rios.imageio.GDALTypeToNumpyType(gdaltype)[source]

Given a gdal data type returns the matching numpy data type

rios.imageio.NumpyTypeToGDALType(numpytype)[source]

For a given numpy data type returns the matching GDAL data type

rios.imageio.pix2wld(transform, x, y)[source]

converts a set of pixels coords to map coords

rios.imageio.wld2pix(transform, geox, geoy)[source]

converts a set of map coords to pixel coords