Permalink
Browse files

+ fix typo

  • Loading branch information...
1 parent 72344c3 commit 55c0e3e0f24b7d7c9672c2e0ed622b89839807f3 @artemp artemp committed Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/input/gdal/gdal_datasource.cpp
@@ -119,7 +119,7 @@ void gdal_datasource::bind() const
shared_dataset_ = *params_.get<mapnik::boolean>("shared", false);
band_ = *params_.get<int>("band", -1);
- GDALDataset *dataset = open_dataset();
+ dataset_ = open_dataset();
nbands_ = dataset_->GetRasterCount();
width_ = dataset_->GetRasterXSize();
height_ = dataset_->GetRasterYSize();

0 comments on commit 55c0e3e

Please sign in to comment.