diff --git a/tests/visual_tests/data/lower_columbia.tif b/tests/visual_tests/data/lower_columbia.tif new file mode 100644 index 000000000..1a0cfa892 Binary files /dev/null and b/tests/visual_tests/data/lower_columbia.tif differ diff --git a/tests/visual_tests/grids/tiff-reprojection-2-250-250-1.0-grid-reference.json b/tests/visual_tests/grids/tiff-reprojection-2-250-250-1.0-grid-reference.json new file mode 100644 index 000000000..4f1f36aa4 --- /dev/null +++ b/tests/visual_tests/grids/tiff-reprojection-2-250-250-1.0-grid-reference.json @@ -0,0 +1,71 @@ +{ + "keys": [ + "" + ], + "data": {}, + "grid": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ] +} \ No newline at end of file diff --git a/tests/visual_tests/images/tiff-reprojection-2-250-250-1.0-agg-reference.png b/tests/visual_tests/images/tiff-reprojection-2-250-250-1.0-agg-reference.png new file mode 100644 index 000000000..dff3b1b36 Binary files /dev/null and b/tests/visual_tests/images/tiff-reprojection-2-250-250-1.0-agg-reference.png differ diff --git a/tests/visual_tests/images/tiff-reprojection-2-250-250-1.0-cairo-reference.png b/tests/visual_tests/images/tiff-reprojection-2-250-250-1.0-cairo-reference.png new file mode 100644 index 000000000..dff3b1b36 Binary files /dev/null and b/tests/visual_tests/images/tiff-reprojection-2-250-250-1.0-cairo-reference.png differ diff --git a/tests/visual_tests/images/tiff-reprojection-2-250-250-2.0-agg-reference.png b/tests/visual_tests/images/tiff-reprojection-2-250-250-2.0-agg-reference.png new file mode 100644 index 000000000..dff3b1b36 Binary files /dev/null and b/tests/visual_tests/images/tiff-reprojection-2-250-250-2.0-agg-reference.png differ diff --git a/tests/visual_tests/images/tiff-reprojection-2-250-250-2.0-cairo-reference.png b/tests/visual_tests/images/tiff-reprojection-2-250-250-2.0-cairo-reference.png new file mode 100644 index 000000000..dff3b1b36 Binary files /dev/null and b/tests/visual_tests/images/tiff-reprojection-2-250-250-2.0-cairo-reference.png differ diff --git a/tests/visual_tests/styles/tiff-reprojection-2.xml b/tests/visual_tests/styles/tiff-reprojection-2.xml new file mode 100644 index 000000000..0c3520c39 --- /dev/null +++ b/tests/visual_tests/styles/tiff-reprojection-2.xml @@ -0,0 +1,19 @@ + + + + + + + samp1 + + ../data/lower_columbia.tif + gdal + + + + \ No newline at end of file diff --git a/tests/visual_tests/test.py b/tests/visual_tests/test.py index 6463415dc..d4723d3f7 100755 --- a/tests/visual_tests/test.py +++ b/tests/visual_tests/test.py @@ -138,6 +138,7 @@ files = { 'bbox':mapnik.Box2d(-13267022.12540147,4598451.621636203,-13247454.246160466,4618019.500877209) }, 'tiff-reprojection-1': {'sizes':[(250,250)]}, + 'tiff-reprojection-2': {'sizes':[(250,250)]}, # https://github.com/mapnik/mapnik/issues/1520 # commented because these are not critical failures #'tiff-alpha-raster': {'sizes':[(600,400)]},