+ fix typo
This commit is contained in:
parent
72344c3918
commit
55c0e3e0f2
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void gdal_datasource::bind() const
|
||||||
shared_dataset_ = *params_.get<mapnik::boolean>("shared", false);
|
shared_dataset_ = *params_.get<mapnik::boolean>("shared", false);
|
||||||
band_ = *params_.get<int>("band", -1);
|
band_ = *params_.get<int>("band", -1);
|
||||||
|
|
||||||
GDALDataset *dataset = open_dataset();
|
dataset_ = open_dataset();
|
||||||
nbands_ = dataset_->GetRasterCount();
|
nbands_ = dataset_->GetRasterCount();
|
||||||
width_ = dataset_->GetRasterXSize();
|
width_ = dataset_->GetRasterXSize();
|
||||||
height_ = dataset_->GetRasterYSize();
|
height_ = dataset_->GetRasterYSize();
|
||||||
|
|
Loading…
Add table
Reference in a new issue