__init__ (
self,
filename,
x,
y,
width,
height,
rotation=0,
)
Initialize local data.
filename : the raster map in a graphic file format (e.g. tiff)
or the image itself in PIL.Image.Image format
x, y : coordinates of the bottom left of the raster map in meters
width, height : real width and height of the map in meters
height : real height of the map in meters
rotation : angle in degres between the raster map and the real North
|