Skip to content

Commit

Permalink
GDAL compatibility issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersonheard committed Mar 5, 2012
1 parent 5d43833 commit 8ce8ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ga_pyramid/management/commands/load_pyramid.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def handle(self, *args, **options):
tile_ds = gdal.Open(os.path.join(path, str(level), index.next().location))
xs, xw, _0, ys, _1, yw = tile_ds.GetGeoTransform()
pyramid.pxsize_at_levels.append(xw)
pyramid.raster_count = tile_ds.GetRasterCount()
pyramid.raster_count = tile_ds.RasterCount()

index.ResetReading()
for tile in index:
Expand Down

0 comments on commit 8ce8ba9

Please sign in to comment.