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

svn at osgeo.org svn at osgeo.org
Tue Jan 22 22:55:27 EST 2008


Author: warmerdam
Date: 2008-01-22 22:55:27 -0500 (Tue, 22 Jan 2008)
New Revision: 7295

Added:
   trunk/msautotest/wxs/expected/wcs_getcov_grd_11_4326.dat
   trunk/msautotest/wxs/expected/wcs_getcov_grd_11_imagecrs.dat
   trunk/msautotest/wxs/expected/wcs_getcov_grd_11_wgs84.dat
Modified:
   trunk/msautotest/wxs/expected/wcs_getcov_grd_11.dat
   trunk/msautotest/wxs/wcs_simple.map
Log:
test urn:...:EPSG::4326, urn:..:OGC::CRS83 and imageCRS WCS requests

Modified: trunk/msautotest/wxs/expected/wcs_getcov_grd_11.dat
===================================================================
--- trunk/msautotest/wxs/expected/wcs_getcov_grd_11.dat	2008-01-23 02:12:14 UTC (rev 7294)
+++ trunk/msautotest/wxs/expected/wcs_getcov_grd_11.dat	2008-01-23 03:55:27 UTC (rev 7295)
@@ -24,7 +24,7 @@
 
 ncols        14
 nrows        10
-xllcorner    -10.000000000000
+xllcorner    -15.000000000000
 yllcorner    10.000000000000
 cellsize     30.000000000000
  132 148 115 123 99 132 99 140 115 132 107 90 107 115

Added: trunk/msautotest/wxs/expected/wcs_getcov_grd_11_4326.dat
===================================================================
--- trunk/msautotest/wxs/expected/wcs_getcov_grd_11_4326.dat	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_getcov_grd_11_4326.dat	2008-01-23 03:55:27 UTC (rev 7295)
@@ -0,0 +1,41 @@
+Content-Type: multipart/mixed; boundary=wcs
+
+--wcs
+Content-Type: text/xml
+Content-ID: wcs.xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<Coverages
+     xmlns="http://www.opengis.net/wcs/1.1"
+     xmlns:ows="http://www.opengis.net/ows"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://www.opengis.net/ows/1.1 ../owsCoverages.xsd">
+  <Coverage>
+    <Reference xlink:href="cid:coverage/wcs.grd"/>
+  </Coverage>
+</Coverages>
+--wcs
+Content-Type: image/x-aaigrid
+Content-Description: coverage data
+Content-Transfer-Encoding: binary
+Content-ID: coverage/wcs.grd
+Content-Disposition: INLINE
+
+ncols        12
+nrows        10
+xllcorner    -121.488893889680
+yllcorner    -0.000144173887
+cellsize     0.000300000000
+ 0 0 0 0 0 0 0 0 0 0 0 0
+ 0 140 140 115 132 115 123 90 99 90 107 99
+ 0 148 99 115 99 132 115 132 99 115 90 115
+ 0 99 123 107 123 107 140 115 99 140 115 132
+ 0 132 99 132 148 132 115 99 107 99 115 123
+ 0 140 132 115 107 99 156 140 123 140 115 247
+ 0 165 181 115 90 132 107 123 197 230 197 148
+ 0 255 222 255 123 140 123 140 173 214 148 173
+ 0 206 255 255 132 156 140 99 132 165 197 165
+ 0 0 0 0 0 0 0 0 0 0 0 0
+--wcs--
+

Added: trunk/msautotest/wxs/expected/wcs_getcov_grd_11_imagecrs.dat
===================================================================
--- trunk/msautotest/wxs/expected/wcs_getcov_grd_11_imagecrs.dat	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_getcov_grd_11_imagecrs.dat	2008-01-23 03:55:27 UTC (rev 7295)
@@ -0,0 +1,41 @@
+Content-Type: multipart/mixed; boundary=wcs
+
+--wcs
+Content-Type: text/xml
+Content-ID: wcs.xml
+
+<?xml version="1.0" encoding="UTF-8"?>
+<Coverages
+     xmlns="http://www.opengis.net/wcs/1.1"
+     xmlns:ows="http://www.opengis.net/ows"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://www.opengis.net/ows/1.1 ../owsCoverages.xsd">
+  <Coverage>
+    <Reference xlink:href="cid:coverage/wcs.grd"/>
+  </Coverage>
+</Coverages>
+--wcs
+Content-Type: image/x-aaigrid
+Content-Description: coverage data
+Content-Transfer-Encoding: binary
+Content-ID: coverage/wcs.grd
+Content-Disposition: INLINE
+
+ncols        14
+nrows        10
+xllcorner    -10.000000000000
+yllcorner    10.000000000000
+cellsize     30.000000000000
+ 132 148 115 123 99 132 99 140 115 132 107 90 107 115
+ 156 132 115 148 165 107 156 99 123 115 115 115 115 107
+ 123 148 123 132 107 123 99 107 99 90 107 115 132 148
+ 132 99 107 115 140 107 123 132 123 115 99 99 99 123
+ 132 123 115 99 115 99 148 132 123 132 99 123 148 115
+ 148 107 115 115 99 132 123 123 123 156 90 123 132 156
+ 247 132 123 165 148 123 107 99 148 173 156 181 214 206
+ 206 197 132 123 107 132 107 99 165 255 197 156 165 140
+ 255 255 214 181 156 197 156 140 148 173 197 230 148 181
+ 239 255 255 255 181 132 140 132 148 140 165 165 239 140
+--wcs--
+

Added: trunk/msautotest/wxs/expected/wcs_getcov_grd_11_wgs84.dat
===================================================================
--- trunk/msautotest/wxs/expected/wcs_getcov_grd_11_wgs84.dat	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_getcov_grd_11_wgs84.dat	2008-01-23 03:55:27 UTC (rev 7295)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" ?>
+<ServiceExceptionReport version="1.2.0"
+xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengeospatial.net/wms/1.1.1/OGC-exception.xsd">
+  <ServiceException>msProcessProjection(): Projection library error. projection not named
+msProcessProjection(): Projection library error. projection not named
+  </ServiceException>
+</ServiceExceptionReport>

Modified: trunk/msautotest/wxs/wcs_simple.map
===================================================================
--- trunk/msautotest/wxs/wcs_simple.map	2008-01-23 02:12:14 UTC (rev 7294)
+++ trunk/msautotest/wxs/wcs_simple.map	2008-01-23 03:55:27 UTC (rev 7295)
@@ -34,9 +34,18 @@
 # GetCoverage to AAIGRID 1.0
 # RUN_PARMS: wcs_getcov_grd_10.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&RESX=30&RESY=30&FORMAT=AAIGRID&BBOX=0,0,400,300&COVERAGE=grey&CRS=EPSG:32611" > [RESULT]
 #
-# GetCoverage to AAIGRID 1.1
-# RUN_PARMS: wcs_getcov_grd_11.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&FORMAT=AAIGRID&BOUNDINGBOX=0,0,39,29,urn:ogc:def:crs:OGC:imageCRS&IDENTIFIER=grey&GridCS=urn:ogc:def:crs:OGC::imageCRS&GridType=urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs&GridOrigin=0,0&GridOffsets=3,3" > [RESULT]
+# GetCoverage to AAIGRID 1.1 (normal CRS)
+# RUN_PARMS: wcs_getcov_grd_11.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&FORMAT=AAIGRID&BOUNDINGBOX=0,0,400,300,urn:ogc:def:crs:EPSG::32611&IDENTIFIER=grey&GridCS=urn:ogc:def:crs:OGC::imageCRS&GridType=urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs&GridOrigin=0,295&GridOffsets=30,-30" > [RESULT]
 #
+# GetCoverage to AAIGRID 1.1 (imageCRS)
+# RUN_PARMS: wcs_getcov_grd_11_imagecrs.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&FORMAT=AAIGRID&BOUNDINGBOX=0,0,39,29,urn:ogc:def:crs:OGC::imageCRS&IDENTIFIER=grey&GridCS=urn:ogc:def:crs:OGC::imageCRS&GridType=urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs&GridOrigin=0,0&GridOffsets=3,3" > [RESULT]
+#
+# GetCoverage to AAIGRID 1.1 (EPSG 4326 with reversed axes)
+# RUN_PARMS: wcs_getcov_grd_11_4326.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&FORMAT=AAIGRID&BOUNDINGBOX=0,-121.48874388968,0.0027058261133485,-121.48516027717,urn:ogc:def:crs:EPSG::4326&IDENTIFIER=grey&GridCS=urn:ogc:def:crs:OGC::imageCRS&GridType=urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs&GridOrigin=0.0027058261133485,-121.48874388968&GridOffsets=-0.0003,0.0003" > [RESULT]
+#
+# GetCoverage to AAIGRID 1.1 (WGS84 (non-EPSG - normal axes)
+# RUN_PARMS: wcs_getcov_grd_11_wgs84.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&FORMAT=AAIGRID&BOUNDINGBOX=-121.48874388968,0,-121.48516027717,0.0027058261133485,urn:ogc:def:crs:OGC::CRS84&IDENTIFIER=grey&GridCS=urn:ogc:def:crs:OGC::imageCRS&GridType=urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs&GridOrigin=-121.48874388968,0.0027058261133485&GridOffsets=0.0003,-0.0003" > [RESULT]
+#
 
 NAME TEST
 SIZE 400 300



More information about the mapserver-commits mailing list