Пример #1
0
 def test_raster_to_polyvert(self):
     ds = self.ds
     polyvert = georef.raster_to_polyvert(ds)
     nx = ds.RasterXSize
     ny = ds.RasterYSize
     assert polyvert.shape == (ny, nx, 5, 2)
Пример #2
0
 def test_raster_to_polyvert(self):
     ds = self.ds
     polyvert = georef.raster_to_polyvert(ds)
     nx = ds.RasterXSize
     ny = ds.RasterYSize
     self.assertEqual((ny, nx, 5, 2), polyvert.shape)