[mapserver-commits] r7707 - in trunk/msautotest/wxs: . expected
svn at osgeo.org
svn at osgeo.org
Thu Jun 19 01:39:14 EDT 2008
Author: tomkralidis
Date: 2008-06-19 01:39:13 -0400 (Thu, 19 Jun 2008)
New Revision: 7707
Added:
trunk/msautotest/wxs/expected/sos_se10.xml
Modified:
trunk/msautotest/wxs/sos.map
Log:
added per #2414
Added: trunk/msautotest/wxs/expected/sos_se10.xml
===================================================================
--- trunk/msautotest/wxs/expected/sos_se10.xml (rev 0)
+++ trunk/msautotest/wxs/expected/sos_se10.xml 2008-06-19 05:39:13 UTC (rev 7707)
@@ -0,0 +1,8 @@
+Content-type: text/xml
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<ows:ExceptionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1" version="1.0.0" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd">
+ <ows:Exception exceptionCode="InvalidParameterValue" locator="srsName">
+ <ows:ExceptionText>msSOSGetObservation(): SOS server error. srsName value "EPSG:12345" unsupported / invalid</ows:ExceptionText>
+ </ows:Exception>
+</ows:ExceptionReport>
Modified: trunk/msautotest/wxs/sos.map
===================================================================
--- trunk/msautotest/wxs/sos.map 2008-06-19 05:34:54 UTC (rev 7706)
+++ trunk/msautotest/wxs/sos.map 2008-06-19 05:39:13 UTC (rev 7707)
@@ -55,6 +55,9 @@
# GetObservation (wrong observedProperty)
# RUN_PARMS: sos_se9.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetObservation&responseFormat=text/xml; subtype=om/1.0.0&offering=Water&observedProperty=AirQuality" > [RESULT]
#
+# GetObservation (invalid srsName)
+# RUN_PARMS: sos_se10.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetObservation&responseFormat=text/xml; subtype=om/1.0.0&offering=Water&observedProperty=WaterQuality&srsName=EPSG:12345" > [RESULT]
+#
# Valid
#
# GetObservation (all observations)
@@ -103,7 +106,6 @@
IMAGEPATH "./tmp"
IMAGEURL "/ms_tmp"
METADATA
- # OWS common metadata
"ows_updatesequence" "foo"
"ows_title" "Test SOS Title"
"ows_abstract" "Test SOS Abstract"
@@ -127,7 +129,7 @@
"ows_hoursofservice" "0800h - 1600h EST"
"ows_contactinstructions" "during hours of service"
"ows_role" "staff"
- # OGC:WMS
+ "ows_srs" "EPSG:4326"
"ows_maxfeatures" "90210"
END
END
@@ -153,7 +155,6 @@
"sos_offering_extent" "-141,42,-52,84"
"sos_offering_timeextent" "1990/2007"
"sos_offering_intendedapplication" "for SOS demos"
- "ows_srs" "EPSG:4326"
"sos_observedproperty_id" "WaterQuality"
"sos_observedproperty_name" "WaterQuality"
"sos_observedproperty_authority" "ACME"
More information about the mapserver-commits
mailing list