# # Tests overlaying an RGB image with a transparent value on a greyscale image # into an 8bit output file. This test also verifies that if a user declares # an outputformat with a name conflicting with an internal default outputformat # that the users definition will be used ... not the internal one. # # NOTE: with resampling. # # REQUIRES: SUPPORTS=PROJ # MAP NAME TEST STATUS ON SIZE 400 300 EXTENT 0.5 0.5 399.5 299.5 IMAGECOLOR 255 255 0 shapepath "../gdal" PROJECTION "proj=utm" "zone=12" "datum=WGS84" END IMAGETYPE png8_local OUTPUTFORMAT NAME png8_local DRIVER "GD/PNG" IMAGEMODE PC256 TRANSPARENT OFF END LAYER NAME grey TYPE raster STATUS default DATA data/pct22.tif PROJECTION "proj=utm" "zone=12" "ellps=WGS84" "towgs84=1,0,0" END END LAYER NAME rgb TYPE raster STATUS default DATA data/rgb.tif OFFSITE 111 222 111 PROJECTION "proj=utm" "zone=12" "ellps=WGS84" "towgs84=1,0,0" END END END # of map file