def test_fails_with_empty_raster_for_tile_out_of_raster_area_with_no_tile_size(self):
    vr = self.read_only_virtual_geo_raster()
    roi = GeoVector.from_xyz(16384, 16383, 15)
    r = vr.crop(roi)
    self.assertTrue((r.image.data == 0).all())
    self.assertTrue(r.image.mask.all())
    self.assertEqual(r.image.shape, (3, 1223, 1223))
def test_fails_with_empty_raster_for_tile_out_of_raster_area_with_no_tile_size(self):
    vr = self.read_only_virtual_geo_raster()
    roi = GeoVector.from_xyz(16384, 16383, 15)
    r = vr.crop(roi)
    self.assertTrue((r.image.data == 0).all())
    self.assertTrue(r.image.mask.all())
    self.assertEqual(r.image.shape, (3, 1223, 1223))