'Creates a new instance with the projection specified in srs, which is in Proj4
format.'

def __init__(self, srs, resolutions, tile_size=256, transformation=Transformation(1, 0, 0, 0, 1, 0)):

    self.resolutions = resolutions
    self.tile_size = tile_size
    self.proj = Proj(srs)
    self.srs = srs
    self.tile_dimensions = [(self.tile_size * r) for r in self.resolutions]
    try:
        self.base_zoom = self.resolutions.index(1.0)
    except ValueError:
        raise TileStache.Core.KnownUnknown('No    zoom    level    with    resolution    1.0')
    LinearProjection.__init__(self, self.base_zoom, transformation)
