imageio

Almost nothing of value is left in this module. In general, this module should be ignored. It remains merely for backward compatibility.

There are two functions wld2pix and pix2wld, and the Coord class they use. These should also be deprecated, in favour of GDAL’s ApplyGeoTransform and InvGeoTransform (which they now use internally anyway). However, they are used in public-facing ways in the ReaderInfo object, so removing them would, in principle, be a breaking change. They are harmless enough, so they have been left here.

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

a simple class that contains one coord

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