fix compile of rasterlite plugin
This commit is contained in:
parent
51172c8fdf
commit
faddf1a615
1 changed files with 1 additions and 2 deletions
|
@ -116,8 +116,7 @@ feature_ptr rasterlite_featureset::get_feature(mapnik::query const& q)
|
|||
{
|
||||
mapnik::image_rgba8 image(width,height);
|
||||
unsigned char* raster_data = static_cast<unsigned char*>(raster);
|
||||
unsigned char* image = image.getBytes();
|
||||
std::memcpy(image, raster_data, size);
|
||||
std::memcpy(image.getBytes(), raster_data, size);
|
||||
feature->set_raster(std::make_shared<mapnik::raster>(intersect, std::move(image), 1.0));
|
||||
MAPNIK_LOG_DEBUG(rasterlite) << "rasterlite_featureset: Done";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue