tiff_reader - fix

( "...where the -Sy is due the reversal of direction from J increasing- down in raster space to Y increasing-up in model space.")
This commit is contained in:
artemp 2014-12-12 10:18:34 +01:00
parent 067703db48
commit 72f437c52a

View file

@ -329,7 +329,7 @@ void tiff_reader<T>::init()
double lox = tilepoint[3];
double loy = tilepoint[4];
double hix = lox + pixelscale[0] * width_;
double hiy = loy + pixelscale[1] * height_;
double hiy = loy - pixelscale[1] * height_;
bbox_.reset(box2d<double>(lox, loy, hix, hiy));
MAPNIK_LOG_DEBUG(tiff_reader) << "Bounding Box:" << *bbox_;
}