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

svn at osgeo.org svn at osgeo.org
Tue Mar 4 16:28:40 EST 2008


Author: tomkralidis
Date: 2008-03-04 16:28:40 -0500 (Tue, 04 Mar 2008)
New Revision: 7432

Added:
   trunk/msautotest/wxs/expected/wcs_getcov_exception_bbox.xml
Modified:
   trunk/msautotest/wxs/wcs_simple.map
Log:
Added test for overlap exception (#2503)


Added: trunk/msautotest/wxs/expected/wcs_getcov_exception_bbox.xml
===================================================================
--- trunk/msautotest/wxs/expected/wcs_getcov_exception_bbox.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_getcov_exception_bbox.xml	2008-03-04 21:28:40 UTC (rev 7432)
@@ -0,0 +1,8 @@
+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/wcs/1.0.0/OGC-exception.xsd">
+  <ServiceException code="NoApplicableCode" locator="bbox">msWCSGetCoverage(): WCS server error. Requested BBOX (500,500,1000,1000) is outside requested coverage BBOX (0,0,400,300)
+  </ServiceException>
+</ServiceExceptionReport>

Modified: trunk/msautotest/wxs/wcs_simple.map
===================================================================
--- trunk/msautotest/wxs/wcs_simple.map	2008-03-04 21:27:56 UTC (rev 7431)
+++ trunk/msautotest/wxs/wcs_simple.map	2008-03-04 21:28:40 UTC (rev 7432)
@@ -37,6 +37,9 @@
 # Generate simple PNG.
 # RUN_PARMS: wcs_simple.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&WIDTH=120&HEIGHT=90&FORMAT=GDPNG&BBOX=0,0,400,300&COVERAGE=grey&CRS=EPSG:32611" > [RESULT_DEMIME]
 #
+# Generate error if bbox does not overlap coverage extent
+# RUN_PARMS: wcs_getcov_exception_bbox.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&WIDTH=120&HEIGHT=90&FORMAT=GDPNG&BBOX=500,500,1000,1000&COVERAGE=grey&CRS=EPSG:32611" > [RESULT]
+#
 # Use bilinear resampling. 
 # RUN_PARMS: wcs_bilinear.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&WIDTH=120&HEIGHT=90&FORMAT=GDPNG&BBOX=0.1,0.1,399.9,299.9&COVERAGE=grey&CRS=EPSG:32611&INTERPOLATION=BILINEAR" > [RESULT_DEMIME]
 #



More information about the mapserver-commits mailing list