

def test_warp(self):
    qs = self.qs.warp(format='img', srid=3857)
    memio = qs[0].image.file
    r = greenwich.open(memio.name)
    self.assertEqual(r.driver.ext, 'img')
    self.assertIn('proj=merc', r.sref.proj4)

dataset/ETHPy150Open bkg/django-spillway/tests/test_query.py RasterQuerySetTestCase.test_warp/original