def test_get_all_raster_in_a_single_tile(self):
    for raster in [self.read_only_virtual_geo_raster(), self.read_only_virtual_geo_raster_wgs84()]:
        p = raster.footprint().reproject(WGS84_CRS).centroid
        r = raster.get_tile(*mercantile.tile(lng=p.x, lat=p.y, zoom=11))
        self.assertFalse((r.image.data == 0).all())
        self.assertFalse(r.image.mask.all())
        self.assertEqual(r.image.shape, (3, 256, 256))
        self.assertEqual(r.crs, WEB_MERCATOR_CRS)
def test_get_all_raster_in_a_single_tile(self):
    for raster in [self.read_only_virtual_geo_raster(), self.read_only_virtual_geo_raster_wgs84()]:
        p = raster.footprint().reproject(WGS84_CRS).centroid
        r = raster.get_tile(*mercantile.tile(lng=p.x, lat=p.y, zoom=11))
        self.assertFalse((r.image.data == 0).all())
        self.assertFalse(r.image.mask.all())
        self.assertEqual(r.image.shape, (3, 256, 256))
        self.assertEqual(r.crs, WEB_MERCATOR_CRS)