TileStache.Goodies.Providers.GDAL | index

`Minimally-tested GDAL image provider.
Based on existing work in OAM (https://github.com/oam/oam), this GDAL provider
is the bare minimum necessary to do simple output of GDAL data sources.
Sample configuration:
"provider":
{
"class": "TileStache.Goodies.Providers.GDAL:Provider",
"kwargs": { "filename": "landcover-1km.tif", "resample": "linear" }
}
Valid values for resample are "cubic", "cubicspline", "linear", and "nearest".
With a bit more work, this provider will be ready for fully-supported inclusion
in TileStache proper. Until then, it will remain here in the Goodies package.`

Modules

``

Image | osgeo.gdal | osgeo.osr |

Classes

``

Provider

class Provider

``

Methods defined here:

__init__(self, layer, filename, resample='cubic')

renderArea(self, width, height, srs, xmin, ymin, xmax, ymax, zoom)

Data
`` |  | resamplings = {'cubic': 2, 'cubicspline': 3, 'linear': 1, 'nearest': 0}