[mapserver-commits] r11014 - in trunk/msautotest/wxs: . data expected

svn at osgeo.org svn at osgeo.org
Fri Feb 25 00:08:42 EST 2011


Author: sdlime
Date: 2011-02-24 21:08:42 -0800 (Thu, 24 Feb 2011)
New Revision: 11014

Added:
   trunk/msautotest/wxs/data/multiband.tif
   trunk/msautotest/wxs/expected/wcs_20_getcov_bands_index.tif
   trunk/msautotest/wxs/expected/wcs_20_getcov_bands_name.tif
   trunk/msautotest/wxs/expected/wcs_20_post_bands_index.tif
   trunk/msautotest/wxs/expected/wcs_20_post_bands_name.tif
   trunk/msautotest/wxs/wcs_multi.map
Log:
Applied patch and added files for #3689.

Added: trunk/msautotest/wxs/data/multiband.tif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/data/multiband.tif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wcs_20_getcov_bands_index.tif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wcs_20_getcov_bands_index.tif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wcs_20_getcov_bands_name.tif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wcs_20_getcov_bands_name.tif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wcs_20_post_bands_index.tif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wcs_20_post_bands_index.tif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wcs_20_post_bands_name.tif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wcs_20_post_bands_name.tif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/wcs_multi.map
===================================================================
--- trunk/msautotest/wxs/wcs_multi.map	                        (rev 0)
+++ trunk/msautotest/wxs/wcs_multi.map	2011-02-25 05:08:42 UTC (rev 11014)
@@ -0,0 +1,103 @@
+#
+# Test WCS.
+#
+# REQUIRES: INPUT=GDAL OUTPUT=PNG SUPPORTS=WCS
+#
+# KVP:
+# RUN_PARMS: wcs_20_getcov_bands_index.tif [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=2.0.0&REQUEST=GetCoverage&COVERAGEID=multi&FORMAT=image/tiff&RANGESUBSET=1,5,9" > [RESULT_DEMIME]
+# RUN_PARMS: wcs_20_getcov_bands_name.tif [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=2.0.0&REQUEST=GetCoverage&COVERAGEID=multi&FORMAT=image/tiff&RANGESUBSET=Band2,Band3,Band1" > [RESULT_DEMIME]
+#
+# POST:
+# RUN_PARMS: wcs_20_post_bands_index.tif [MAPSERV] -nh [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" service="WCS" version="2.0.0"><wcs:Format>image/tiff</wcs:Format><wcs:CoverageID>multi</wcs:CoverageID><wcs:rangeSubset><wcs:band>1</wcs:band><wcs:band>5</wcs:band><wcs:band>9</wcs:band></wcs:rangeSubset></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
+# RUN_PARMS: wcs_20_post_bands_name.tif [MAPSERV] -nh [POST]<?xml version="1.0" encoding="UTF-8"?><wcs:GetCoverage xmlns:wcs="http://www.opengis.net/wcs/2.0" service="WCS" version="2.0.0"><wcs:Format>image/tiff</wcs:Format><wcs:CoverageID>multi</wcs:CoverageID><wcs:rangeSubset><wcs:band>Band2</wcs:band><wcs:band>Band3</wcs:band><wcs:band>Band1</wcs:band></wcs:rangeSubset></wcs:GetCoverage>[/POST] > [RESULT_DEMIME]
+#
+MAP
+
+NAME TEST
+SIZE 105 61
+EXTENT 47.8188382 14.4702712 49.8911432 18.0111282
+
+OUTPUTFORMAT
+  NAME GEOTIFF_8
+  DRIVER "GDAL/GTiff"
+  MIMETYPE "image/tiff"
+  IMAGEMODE BYTE
+  EXTENSION "tif"
+END
+
+PROJECTION
+  "init=epsg:4326"
+END
+
+WEB
+  METADATA
+   # OWS stuff for server
+   "ows_updatesequence"   "2007-10-30T14:23:38Z"
+   "ows_title"            "First Test Service"
+   "ows_fees"             "NONE"
+   "ows_accessconstraints" "NONE"
+   "ows_abstract"         "Test Abstract"
+   "ows_keywordlist"      "keyword,list"
+   "ows_service_onlineresource" "http://198.202.74.215/cgi-bin/wcs_demo"
+   "ows_contactorganization" "OSGeo"
+   "ows_contactperson"    "Frank Warmerdam"
+   "ows_contactposition"  "Software Developer"
+   "ows_contactvoicetelephone" "(613) 754-2041"
+   "ows_contactfacsimiletelephone" "(613) 754-2041x343"
+   "ows_address" "3594 Foymount Rd"
+   "ows_city" "Eganville"
+   "ows_stateorprovince" "Ontario"
+   "ows_postcode" "K0J 1T0"
+   "ows_country" "Canada"
+   "ows_contactelectronicmailaddress" "warmerdam at pobox.com"
+   "ows_hoursofservice" "0800h - 1600h EST"
+   "ows_contactinstructions" "during hours of service"
+   "ows_role" "staff"
+
+   # OGC:WCS
+   "wcs_label"    "Test Label"
+   "wcs_description" "Test description"
+   "wcs_onlineresource"    "http://devgeo.cciw.ca/cgi-bin/mapserv/ecows"
+   "wcs_metadatalink_href" "http://devgeo.cciw.ca/index.html"
+  END #METADATA
+END #WEB
+
+LAYER 
+  NAME multi
+  TYPE raster
+  STATUS ON
+  DUMP TRUE
+  
+  DATA data/multiband.tif
+  
+  PROJECTION
+    "init=epsg:4326"
+  END
+  METADATA   
+   #"ows_extent" "47.8188382 14.4702712 49.8911432 18.0111282"
+   
+   #"ows_srs" "EPSG:4326"
+   #"wcs_resolution" "0.033722447857669 -0.033972212803530"
+   #"wcs_size" "105 61"
+   
+   "wcs_label" "Test label"
+   
+   "wcs_bandcount" "9"
+   "wcs_formats" "GEOTIFF_8"
+   "wcs_nativeformat" "GeoTIFF"
+   "wcs_description" "Test description"
+   "wcs_metadatalink_href" "http://www.gdal.org/metadata_test_link.html"
+   "wcs_keywordlist" "test,mapserver"
+   "wcs_abstract" "Category: Image
+Product: IKONOS-2 PAN/MSI
+Acquisition: 1999-10-11 18:47"
+   "wcs_rangeset_axes" "Band1 Band2 Band3 Band4 Band5 Band6 Band7 Band8 Band9"
+   "wcs_rangeset_name" "Landsat 5 TM Bands"
+   "wcs_rangeset_label" "Bands"
+   "wcs_rangeset_description" "Bands for Landsat 5 TM"
+   "wcs_rangeset_nullvalue" "-99"
+  END
+END
+
+
+END



More information about the mapserver-commits mailing list