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

svn at osgeo.org svn at osgeo.org
Wed Feb 25 08:32:19 EST 2009


Author: tomkralidis
Date: 2009-02-25 08:32:19 -0500 (Wed, 25 Feb 2009)
New Revision: 8611

Added:
   trunk/msautotest/wxs/expected/wms_getstyles.xml
   trunk/msautotest/wxs/expected/wms_getstyles130.xml
Modified:
   trunk/msautotest/wxs/wms_simple.map
Log:
add SLD tests


Added: trunk/msautotest/wxs/expected/wms_getstyles.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_getstyles.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_getstyles.xml	2009-02-25 13:32:19 UTC (rev 8611)
@@ -0,0 +1,22 @@
+Content-type: application/vnd.ogc.sld+xml
+
+<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
+<NamedLayer>
+<Name>road</Name>
+<UserStyle>
+<FeatureTypeStyle>
+<Rule>
+<Name>Roads</Name>
+<LineSymbolizer>
+<Stroke>
+<CssParameter name="stroke">#dc0000</CssParameter>
+<CssParameter name="stroke-opacity">1.00</CssParameter>
+<CssParameter name="stroke-width">1.00</CssParameter>
+</Stroke>
+</LineSymbolizer>
+</Rule>
+</FeatureTypeStyle>
+</UserStyle>
+</NamedLayer>
+</StyledLayerDescriptor>
+

Added: trunk/msautotest/wxs/expected/wms_getstyles130.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_getstyles130.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_getstyles130.xml	2009-02-25 13:32:19 UTC (rev 8611)
@@ -0,0 +1,22 @@
+Content-type: text/xml
+
+<StyledLayerDescriptor version="1.1.0" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:se="http://www.opengis.net/se" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<NamedLayer>
+<se:Name>road</se:Name>
+<UserStyle>
+<se:FeatureTypeStyle>
+<se:Rule>
+<se:Name>Roads</se:Name>
+<se:LineSymbolizer>
+<se:Stroke>
+<se:SvgParameter name="stroke">#dc0000</se:SvgParameter>
+<se:SvgParameter name="stroke-opacity">1.00</se:SvgParameter>
+<se:SvgParameter name="stroke-width">1.00</se:SvgParameter>
+</se:Stroke>
+</se:LineSymbolizer>
+</se:Rule>
+</se:FeatureTypeStyle>
+</UserStyle>
+</NamedLayer>
+</StyledLayerDescriptor>
+

Modified: trunk/msautotest/wxs/wms_simple.map
===================================================================
--- trunk/msautotest/wxs/wms_simple.map	2009-02-25 03:29:19 UTC (rev 8610)
+++ trunk/msautotest/wxs/wms_simple.map	2009-02-25 13:32:19 UTC (rev 8611)
@@ -26,6 +26,9 @@
 # RUN_PARMS: wms_get_map_polygon.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-67.5725,42.3683,-58.9275,48.13&FORMAT=image/png&WIDTH=300&HEIGHT=200&STYLES=&LAYERS=road" > [RESULT_DEMIME]
 #
 #
+# GetStyles
+# RUN_PARMS: wms_getstyles.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetStyles&LAYERS=road" > [RESULT]
+#
 # 1.3.0 tests
 #
 # exception
@@ -45,8 +48,10 @@
 #
 # DescribeLayer
 # RUN_PARMS: wms_describelayer130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=DescribeLayer&layers=road&sld_version=1.1.0" > [RESULT]
+#
+# GetStyles
+# RUN_PARMS: wms_getstyles130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetStyles&layers=road" > [RESULT]
 
-
 NAME WMS_TEST
 STATUS ON
 SIZE 400 300
@@ -82,7 +87,7 @@
     "wms_title"		   "Test simple wms"
     "wms_onlineresource"   "http://localhost/path/to/wms_simple?"
     "wms_srs"		   "EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326"
-    "ows_schemas_location" "http://ogc.dmsolutions.ca"
+    "ows_schemas_location" "http://schemas.opengis.net"
     "ows_keywordlist" "ogc,wms,mapserver"
     "ows_service_onlineresource" "http://www.mapserver.org/"
     "ows_fees" "None"



More information about the mapserver-commits mailing list