From adacb16a2c4607454ffd3582e34b634a53f496be Mon Sep 17 00:00:00 2001 From: Blake Thompson Date: Tue, 9 May 2017 12:15:03 -0500 Subject: [PATCH] Removed 0.5 limit on width and height in gdal plugin, added new visual tests --- plugins/input/gdal/gdal_featureset.cpp | 10 ---------- test/data-visual | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/plugins/input/gdal/gdal_featureset.cpp b/plugins/input/gdal/gdal_featureset.cpp index 1377322e3..32ebc4863 100644 --- a/plugins/input/gdal/gdal_featureset.cpp +++ b/plugins/input/gdal/gdal_featureset.cpp @@ -187,16 +187,6 @@ feature_ptr gdal_featureset::get_feature(mapnik::query const& q) int width = end_x - x_off; int height = end_y - y_off; - // don't process almost invisible data - if (box.width() < 0.5) - { - width = 0; - } - if (box.height() < 0.5) - { - height = 0; - } - //calculate actual box2d of returned raster box2d feature_raster_extent(x_off, y_off, x_off + width, y_off + height); intersect = t.backward(feature_raster_extent); diff --git a/test/data-visual b/test/data-visual index d96d10677..457eb2194 160000 --- a/test/data-visual +++ b/test/data-visual @@ -1 +1 @@ -Subproject commit d96d1067796f1fe99da27941b216cb6991661a6a +Subproject commit 457eb219475d5a50e742d97ccbbe1015ff4f6246