[mapserver-commits] r9889 - in trunk/msautotest/gdal: . expected

svn at osgeo.org svn at osgeo.org
Tue Feb 23 16:32:47 EST 2010


Author: warmerdam
Date: 2010-02-23 16:32:46 -0500 (Tue, 23 Feb 2010)
New Revision: 9889

Added:
   trunk/msautotest/gdal/average_rgb_plug.map
   trunk/msautotest/gdal/expected/average_rgb_plug.png
   trunk/msautotest/gdal/expected/grayalpha_plug.png
   trunk/msautotest/gdal/expected/rgb_overlay_plug.png
   trunk/msautotest/gdal/expected/wmsclient.png
   trunk/msautotest/gdal/grayalpha_plug.map
   trunk/msautotest/gdal/rgb_overlay_plug.map
   trunk/msautotest/gdal/tmp/
   trunk/msautotest/gdal/wmsclient.map
Log:
add wmsclient and plugin tests

Added: trunk/msautotest/gdal/average_rgb_plug.map
===================================================================
--- trunk/msautotest/gdal/average_rgb_plug.map	                        (rev 0)
+++ trunk/msautotest/gdal/average_rgb_plug.map	2010-02-23 21:32:46 UTC (rev 9889)
@@ -0,0 +1,38 @@
+#
+# Test averaged resampling.  Results currently depend on the 2x oversampling
+# for mapresample.c.
+#
+# REQUIRES: SUPPORTS=PROJ
+# REQUIRES: SUPPORTS=AGG
+#
+MAP
+
+NAME TEST
+STATUS ON
+SIZE 12 9
+EXTENT 0.5 0.5 399.5 299.5
+IMAGECOLOR 0 0 255
+
+OUTPUTFORMAT
+  NAME png24_t
+  DRIVER "AGG2/PNG"
+  IMAGEMODE RGB
+  TRANSPARENT OFF
+END
+
+IMAGETYPE png24_t
+
+#
+# Start of layer definitions
+#
+
+LAYER
+  NAME grid1
+  TYPE raster
+  STATUS default
+  PROCESSING "RESAMPLE=AVERAGE"
+#  PROCESSING "LOAD_FULL_RES_IMAGE=YES"
+  DATA data/rgb.tif
+END
+
+END # of map file

Added: trunk/msautotest/gdal/expected/average_rgb_plug.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/gdal/expected/average_rgb_plug.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/gdal/expected/grayalpha_plug.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/gdal/expected/grayalpha_plug.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/gdal/expected/rgb_overlay_plug.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/gdal/expected/rgb_overlay_plug.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/gdal/expected/wmsclient.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/gdal/expected/wmsclient.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/gdal/grayalpha_plug.map
===================================================================
--- trunk/msautotest/gdal/grayalpha_plug.map	                        (rev 0)
+++ trunk/msautotest/gdal/grayalpha_plug.map	2010-02-23 21:32:46 UTC (rev 9889)
@@ -0,0 +1,36 @@
+#
+# Tests overlaying a greyscale image with an alpha band on a greyscale image
+# into an RGBA output via the AGG2 plugable renderer.
+#
+# REQUIRES: SUPPORTS=AGG
+#
+
+MAP
+
+NAME TEST
+STATUS ON
+SIZE 400 300
+EXTENT 0.5 0.5 399.5 299.5
+IMAGECOLOR 255 255 0
+
+OUTPUTFORMAT
+  NAME png24_t
+  DRIVER "AGG2/PNG"
+  IMAGEMODE RGBA
+END
+
+LAYER
+  NAME grey
+  TYPE raster
+  STATUS default
+  DATA data/pct22.tif
+END
+
+LAYER
+  NAME grey_overlay
+  TYPE raster
+  STATUS default
+  DATA data/greyalpha.vrt
+END
+
+END # of map file

Added: trunk/msautotest/gdal/rgb_overlay_plug.map
===================================================================
--- trunk/msautotest/gdal/rgb_overlay_plug.map	                        (rev 0)
+++ trunk/msautotest/gdal/rgb_overlay_plug.map	2010-02-23 21:32:46 UTC (rev 9889)
@@ -0,0 +1,41 @@
+#
+# Tests overlaying an RGB image with a transparent value on a greyscale image
+# into an RGB output via the AGG/plugable rendering mechanism.
+#
+# NOTE: without resampling. 
+#
+# REQUIRES: SUPPORTS=AGG
+#
+MAP
+
+NAME TEST
+STATUS ON
+SIZE 400 300
+EXTENT 0.5 0.5 399.5 299.5
+IMAGECOLOR 255 255 0
+
+OUTPUTFORMAT
+  NAME png24_t
+  DRIVER "AGG2/PNG"
+  IMAGEMODE RGB
+  TRANSPARENT OFF
+END
+
+IMAGETYPE png24_t
+
+LAYER
+  NAME grey
+  TYPE raster
+  STATUS default
+  DATA data/pct22.tif
+END
+
+LAYER
+  NAME rgb
+  TYPE raster
+  STATUS default
+  DATA data/rgb.tif
+  OFFSITE 111 222 111
+END
+
+END # of map file

Added: trunk/msautotest/gdal/wmsclient.map
===================================================================
--- trunk/msautotest/gdal/wmsclient.map	                        (rev 0)
+++ trunk/msautotest/gdal/wmsclient.map	2010-02-23 21:32:46 UTC (rev 9889)
@@ -0,0 +1,36 @@
+#
+# Simple test of WMS client support.
+#
+# REQUIRES: SUPPORTS=WMS_CLIENT
+#
+MAP
+
+NAME TEST
+STATUS ON
+SIZE 360 145
+EXTENT -180 -60 180 85
+IMAGECOLOR 255 255 0
+
+IMAGETYPE png
+
+WEB
+  IMAGEPATH "./tmp/"
+END
+
+LAYER
+  NAME "pop"
+  TYPE RASTER
+  STATUS DEFAULT
+  DEBUG 1
+  CONNECTION "http://sedac.ciesin.columbia.edu/mapserver/map/GPWv3?"
+  CONNECTIONTYPE WMS
+  METADATA
+    "wms_srs"             "EPSG:4326"
+    "wms_name"            "GPWv3_1990_Pop_Density_tif"
+    "wms_server_version"  "1.1.1"
+    "wms_format"          "image/gif"
+  END
+END
+
+END # of map file
+



More information about the mapserver-commits mailing list