add visual test to ensure that #1501 does not regress

This commit is contained in:
Dane Springmeyer 2013-06-13 20:09:24 -07:00
parent 18fc10cf7d
commit df6e9685d6
8 changed files with 87 additions and 0 deletions

Binary file not shown.

View file

@ -0,0 +1,71 @@
{
"keys": [
""
],
"data": {},
"grid": [
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,15 @@
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" background-color="#b8dee6" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
<Style name="heat" filter-mode="first" >
<Rule>
<RasterSymbolizer opacity="1" scaling="bilinear"/>
</Rule>
</Style>
<Layer name="heat"
srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>heat</StyleName>
<Datasource>
<Parameter name="file">../data/heat.tif</Parameter>
<Parameter name="type">gdal</Parameter>
</Datasource>
</Layer>
</Map>

View file

@ -137,6 +137,7 @@ files = {
'tiff-edge-alignment-gdal2': {'sizes':[(256,256),(255,257)], 'tiff-edge-alignment-gdal2': {'sizes':[(256,256),(255,257)],
'bbox':mapnik.Box2d(-13267022.12540147,4598451.621636203,-13247454.246160466,4618019.500877209) 'bbox':mapnik.Box2d(-13267022.12540147,4598451.621636203,-13247454.246160466,4618019.500877209)
}, },
'tiff-reprojection-1': {'sizes':[(250,250)]},
# https://github.com/mapnik/mapnik/issues/1520 # https://github.com/mapnik/mapnik/issues/1520
# commented because these are not critical failures # commented because these are not critical failures
#'tiff-alpha-raster': {'sizes':[(600,400)]}, #'tiff-alpha-raster': {'sizes':[(600,400)]},