fix init order
This commit is contained in:
parent
92b13c78db
commit
399b309da5
1 changed files with 2 additions and 2 deletions
|
@ -55,6 +55,7 @@ gdal_featureset::gdal_featureset(GDALDataset& dataset,
|
||||||
double dy,
|
double dy,
|
||||||
double filter_factor)
|
double filter_factor)
|
||||||
: dataset_(dataset),
|
: dataset_(dataset),
|
||||||
|
ctx_(boost::make_shared<mapnik::context>()),
|
||||||
band_(band),
|
band_(band),
|
||||||
gquery_(q),
|
gquery_(q),
|
||||||
raster_extent_(extent),
|
raster_extent_(extent),
|
||||||
|
@ -64,8 +65,7 @@ gdal_featureset::gdal_featureset(GDALDataset& dataset,
|
||||||
dy_(dy),
|
dy_(dy),
|
||||||
nbands_(nbands),
|
nbands_(nbands),
|
||||||
filter_factor_(filter_factor),
|
filter_factor_(filter_factor),
|
||||||
first_(true),
|
first_(true)
|
||||||
ctx_(boost::make_shared<mapnik::context>())
|
|
||||||
{
|
{
|
||||||
ctx_->push("NODATA");
|
ctx_->push("NODATA");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue