[mapserver-commits] r8783 - in branches/branch-5-4/msautotest/wxs: . expected

svn at osgeo.org svn at osgeo.org
Thu Mar 12 08:09:58 EDT 2009


Author: tomkralidis
Date: 2009-03-12 08:09:58 -0400 (Thu, 12 Mar 2009)
New Revision: 8783

Added:
   branches/branch-5-4/msautotest/wxs/expected/wms_time_cap130.xml
Modified:
   branches/branch-5-4/msautotest/wxs/wms_time1.map
Log:
add test for time advertising in WMS 1.3.0 (#2935)


Added: branches/branch-5-4/msautotest/wxs/expected/wms_time_cap130.xml
===================================================================
--- branches/branch-5-4/msautotest/wxs/expected/wms_time_cap130.xml	                        (rev 0)
+++ branches/branch-5-4/msautotest/wxs/expected/wms_time_cap130.xml	2009-03-12 12:09:58 UTC (rev 8783)
@@ -0,0 +1,122 @@
+Content-type: text/xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<WMS_Capabilities version="1.3.0" updateSequence="123"  xmlns="http://www.opengis.net/wms"   xmlns:sld="http://www.opengis.net/sld"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xmlns:ms="http://mapserver.gis.umn.edu/mapserver"   xsi:schemaLocation="http://www.opengis.net/wms http://ogc.dmsolutions.ca/wms/1.3.0/capabilities_1_3_0.xsd  http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd  http://mapserver.gis.umn.edu/mapserver http://localhost/path/to/mswms_time?service=WMS&amp;version=1.3.0&amp;request=GetSchemaExtension">
+
+<Service>
+  <Name>WMS</Name>
+  <Title>Test WMS time support</Title>
+  <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/>
+  <ContactInformation>
+  </ContactInformation>
+  <Fees>none</Fees>
+  <MaxWidth>2048</MaxWidth>
+  <MaxHeight>2048</MaxHeight>
+</Service>
+
+<Capability>
+  <Request>
+    <GetCapabilities>
+      <Format>text/xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetCapabilities>
+    <GetMap>
+      <Format>image/png</Format>
+      <Format>image/gif</Format>
+      <Format>image/png; mode=24bit</Format>
+      <Format>image/jpeg</Format>
+      <Format>image/vnd.wap.wbmp</Format>
+      <Format>image/tiff</Format>
+      <Format>image/svg+xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetMap>
+    <GetFeatureInfo>
+      <Format>text/plain</Format>
+      <Format>application/vnd.ogc.gml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Post>
+        </HTTP>
+      </DCPType>
+    </GetFeatureInfo>
+    <sld:DescribeLayer>
+      <Format>text/xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Post>
+        </HTTP>
+      </DCPType>
+    </sld:DescribeLayer>
+    <sld:GetLegendGraphic>
+      <Format>image/png</Format>
+      <Format>image/gif</Format>
+      <Format>image/png; mode=24bit</Format>
+      <Format>image/jpeg</Format>
+      <Format>image/vnd.wap.wbmp</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Post>
+        </HTTP>
+      </DCPType>
+    </sld:GetLegendGraphic>
+    <ms:GetStyles>
+      <Format>text/xml</Format>
+      <DCPType>
+        <HTTP>
+          <Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Get>
+          <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/mswms_time?"/></Post>
+        </HTTP>
+      </DCPType>
+    </ms:GetStyles>
+  </Request>
+  <Exception>
+    <Format>XML</Format>
+    <Format>INIMAGE</Format>
+    <Format>BLANK</Format>
+  </Exception>
+  <sld:UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1" RemoteWFS="0" InlineFeature="0" RemoteWCS="0"/>
+  <Layer>
+    <Name>WMS_TIME_EXTENTS_RESOLUTION_NO_DEFAULT</Name>
+    <Title>Test WMS time support</Title>
+    <CRS>EPSG:4326</CRS>
+    <EX_GeographicBoundingBox>
+        <westBoundLongitude>-131</westBoundLongitude>
+        <eastBoundLongitude>-68</eastBoundLongitude>
+        <southBoundLatitude>5</southBoundLatitude>
+        <northBoundLatitude>68</northBoundLatitude>
+    </EX_GeographicBoundingBox>
+    <BoundingBox CRS="EPSG:4326"
+                minx="5" miny="-131" maxx="68" maxy="-68" />
+    <MinScaleDenominator>2e+06</MinScaleDenominator>
+    <MaxScaleDenominator>5e+07</MaxScaleDenominator>
+<!-- WARNING: This layer has its status set to DEFAULT and will always be displayed when doing a GetMap request even if it is not requested by the client. This is not in line with the expected behavior of a WMS server. Using status ON or OFF is recommended. -->
+    <Layer queryable="0" opaque="0" cascaded="0">
+        <Name>pattern4</Name>
+        <Title>pattern4</Title>
+        <CRS>EPSG:4326</CRS>
+    <EX_GeographicBoundingBox>
+        <westBoundLongitude>-131.02</westBoundLongitude>
+        <eastBoundLongitude>-119.85</eastBoundLongitude>
+        <southBoundLatitude>33.65</southBoundLatitude>
+        <northBoundLatitude>48.39</northBoundLatitude>
+    </EX_GeographicBoundingBox>
+        <BoundingBox CRS="EPSG:4326"
+                    minx="33.65" miny="-131.02" maxx="48.39" maxy="-119.85" />
+        <Dimension name="time" units="ISO8601" nearestValue="0">2004-01-01/2004-02-01</Dimension>
+    </Layer>
+  </Layer>
+</Capability>
+</WMS_Capabilities>

Modified: branches/branch-5-4/msautotest/wxs/wms_time1.map
===================================================================
--- branches/branch-5-4/msautotest/wxs/wms_time1.map	2009-03-12 12:09:21 UTC (rev 8782)
+++ branches/branch-5-4/msautotest/wxs/wms_time1.map	2009-03-12 12:09:58 UTC (rev 8783)
@@ -7,6 +7,8 @@
 # Capabilities
 # RUN_PARMS: wms_time_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
 #
+# Capabilities 1.3.0 
+# RUN_PARMS: wms_time_cap130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION] 
 #
 # Draw a layer by using no time value specified
 #.



More information about the mapserver-commits mailing list