[mapserver-commits] r8569 - in trunk/msautotest/wxs: . expected
svn at osgeo.org
svn at osgeo.org
Tue Feb 17 18:16:06 EST 2009
Author: tomkralidis
Date: 2009-02-17 18:16:05 -0500 (Tue, 17 Feb 2009)
New Revision: 8569
Added:
trunk/msautotest/wxs/expected/wms_cap130.xml
trunk/msautotest/wxs/expected/wms_describe130.xml
trunk/msautotest/wxs/expected/wms_describelayer130.xml
trunk/msautotest/wxs/expected/wms_exception130.xml
trunk/msautotest/wxs/expected/wms_getfeatureinfo130.xml
trunk/msautotest/wxs/expected/wms_getmap130.png
trunk/msautotest/wxs/expected/wms_getschemaex.xml
Modified:
trunk/msautotest/wxs/expected/wms_cap.xml
trunk/msautotest/wxs/expected/wms_caps_updatesequence.xml
trunk/msautotest/wxs/wms_simple.map
Log:
add WMS 1.3.0 tests
Modified: trunk/msautotest/wxs/expected/wms_cap.xml
===================================================================
(Binary files differ)
Added: trunk/msautotest/wxs/expected/wms_cap130.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_cap130.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wms_cap130.xml 2009-02-17 23:16:05 UTC (rev 8569)
@@ -0,0 +1,149 @@
+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/wms_simple?service=WMS&version=1.3.0&request=GetSchemaExtension">
+
+<Service>
+ <Name>WMS</Name>
+ <Title>Test simple wms</Title>
+ <KeywordList>
+ <Keyword>ogc</Keyword>
+ <Keyword>wms</Keyword>
+ <Keyword>mapserver</Keyword>
+ </KeywordList>
+ <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.mapserver.org/"/>
+ <ContactInformation>
+ <ContactPersonPrimary>
+ <ContactPerson>Tom Kralidis</ContactPerson>
+ <ContactOrganization>MapServer</ContactOrganization>
+ </ContactPersonPrimary>
+ <ContactPosition>self</ContactPosition>
+ <ContactAddress>
+ <AddressType>postal</AddressType>
+ <Address>123 SomeRoad Road</Address>
+ <City>Toronto</City>
+ <StateOrProvince>Ontario</StateOrProvince>
+ <PostCode>xxx-xxx</PostCode>
+ <Country>Canada</Country>
+ </ContactAddress>
+ <ContactVoiceTelephone>+xx-xxx-xxx-xxxx</ContactVoiceTelephone>
+ <ContactFacsimileTelephone>+xx-xxx-xxx-xxxx</ContactFacsimileTelephone>
+ <ContactElectronicMailAddress>tomkralidis at xxxxxxx.xxx</ContactElectronicMailAddress>
+ </ContactInformation>
+ <Fees>None</Fees>
+ <AccessConstraints>None</AccessConstraints>
+ <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/wms_simple?"/></Get>
+ <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/wms_simple?"/></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/wms_simple?"/></Get>
+ <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/wms_simple?"/></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/wms_simple?"/></Get>
+ <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/wms_simple?"/></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/wms_simple?"/></Get>
+ <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/wms_simple?"/></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/wms_simple?"/></Get>
+ <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/wms_simple?"/></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/wms_simple?"/></Get>
+ <Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/wms_simple?"/></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_TEST</Name>
+ <Title>Test simple wms</Title>
+ <CRS>EPSG:42304</CRS>
+ <CRS>EPSG:42101</CRS>
+ <CRS>EPSG:4269</CRS>
+ <CRS>EPSG:4326</CRS>
+ <EX_GeographicBoundingBox>
+ <westBoundLongitude>-67.5725</westBoundLongitude>
+ <eastBoundLongitude>-58.9275</eastBoundLongitude>
+ <southBoundLatitude>42</southBoundLatitude>
+ <northBoundLatitude>48.5</northBoundLatitude>
+ </EX_GeographicBoundingBox>
+ <BoundingBox CRS="EPSG:4326"
+ minx="42" miny="-67.5725" maxx="48.5" maxy="-58.9275" />
+ <Layer queryable="1" opaque="0" cascaded="0">
+ <Name>road</Name>
+ <Title>road</Title>
+ <CRS>EPSG:43204</CRS>
+ <EX_GeographicBoundingBox>
+ <westBoundLongitude>-66.6333</westBoundLongitude>
+ <eastBoundLongitude>-59.2921</eastBoundLongitude>
+ <southBoundLatitude>42.3821</southBoundLatitude>
+ <northBoundLatitude>48.2955</northBoundLatitude>
+ </EX_GeographicBoundingBox>
+ <Style>
+ <Name>default</Name>
+ <Title>default</Title>
+ <LegendURL width="70" height="23">
+ <Format>image/png</Format>
+ <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost/path/to/wms_simple?version=1.3.0&service=WMS&request=GetLegendGraphic&sld_version=1.3.0&layer=road&format=image/png&STYLE=default"/>
+ </LegendURL>
+ </Style>
+ </Layer>
+ </Layer>
+</Capability>
+</WMS_Capabilities>
Modified: trunk/msautotest/wxs/expected/wms_caps_updatesequence.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_caps_updatesequence.xml 2009-02-17 22:19:43 UTC (rev 8568)
+++ trunk/msautotest/wxs/expected/wms_caps_updatesequence.xml 2009-02-17 23:16:05 UTC (rev 8569)
@@ -11,9 +11,32 @@
<Service>
<Name>OGC:WMS</Name>
<Title>Test simple wms</Title>
- <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost/path/to/wms_simple?"/>
+ <KeywordList>
+ <Keyword>ogc</Keyword>
+ <Keyword>wms</Keyword>
+ <Keyword>mapserver</Keyword>
+ </KeywordList>
+ <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.mapserver.org/"/>
<ContactInformation>
+ <ContactPersonPrimary>
+ <ContactPerson>Tom Kralidis</ContactPerson>
+ <ContactOrganization>MapServer</ContactOrganization>
+ </ContactPersonPrimary>
+ <ContactPosition>self</ContactPosition>
+ <ContactAddress>
+ <AddressType>postal</AddressType>
+ <Address>123 SomeRoad Road</Address>
+ <City>Toronto</City>
+ <StateOrProvince>Ontario</StateOrProvince>
+ <PostCode>xxx-xxx</PostCode>
+ <Country>Canada</Country>
+ </ContactAddress>
+ <ContactVoiceTelephone>+xx-xxx-xxx-xxxx</ContactVoiceTelephone>
+ <ContactFacsimileTelephone>+xx-xxx-xxx-xxxx</ContactFacsimileTelephone>
+ <ContactElectronicMailAddress>tomkralidis at xxxxxxx.xxx</ContactElectronicMailAddress>
</ContactInformation>
+ <Fees>None</Fees>
+ <AccessConstraints>None</AccessConstraints>
</Service>
<Capability>
@@ -101,10 +124,10 @@
<LatLonBoundingBox minx="-67.5725" miny="42" maxx="-58.9275" maxy="48.5" />
<BoundingBox SRS="EPSG:4326"
minx="-67.5725" miny="42" maxx="-58.9275" maxy="48.5" />
- <Layer queryable="0" opaque="0" cascaded="0">
+ <Layer queryable="1" opaque="0" cascaded="0">
<Name>road</Name>
<Title>road</Title>
-<!-- WARNING: Mandatory mapfile parameter '(at least one of) MAP.PROJECTION, LAYER.PROJECTION or wms_srs metadata' was missing in this context. -->
+ <SRS>EPSG:43204</SRS>
<LatLonBoundingBox minx="-66.6333" miny="42.3821" maxx="-59.2921" maxy="48.2955" />
<Style>
<Name>default</Name>
Added: trunk/msautotest/wxs/expected/wms_describe130.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_describe130.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wms_describe130.xml 2009-02-17 23:16:05 UTC (rev 8569)
@@ -0,0 +1,8 @@
+Content-type: text/xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://ogc.dmsolutions.ca/wms/1.3.0/exceptions_1_3_0.xsd">
+<ServiceException code="MissingParameterValue">
+DescribeLayer(): WMS server error. Missing required parameter SLD_VERSION
+</ServiceException>
+</ServiceExceptionReport>
Added: trunk/msautotest/wxs/expected/wms_describelayer130.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_describelayer130.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wms_describelayer130.xml 2009-02-17 23:16:05 UTC (rev 8569)
@@ -0,0 +1,13 @@
+Content-type: text/xml
+
+<?xml version='1.0' encoding="ISO-8859-1"?>
+<DescribeLayerResponse xmlns="http://www.opengis.net/sld" xmlns:ows="http://www.opengis.net/ows" xmlns:se="http://www.opengis.net/se" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld http://ogc.dmsolutions.ca/sld/1.1.0/DescribeLayer.xsd">
+<Version>1.1.0</Version>
+ <LayerDescription>
+ <owsType>wfs</owsType>
+ <se:OnlineResource xlink:type="simple"/>
+ <TypeName>
+ <se:FeatureTypeName>road</se:FeatureTypeName>
+ </TypeName>
+ </LayerDescription>
+</DescribeLayerResponse>
Added: trunk/msautotest/wxs/expected/wms_exception130.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_exception130.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wms_exception130.xml 2009-02-17 23:16:05 UTC (rev 8569)
@@ -0,0 +1,8 @@
+Content-type: text/xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://ogc.dmsolutions.ca/wms/1.3.0/exceptions_1_3_0.xsd">
+<ServiceException code="LayerNotDefined">
+msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the LAYERS parameter.
+</ServiceException>
+</ServiceExceptionReport>
Added: trunk/msautotest/wxs/expected/wms_getfeatureinfo130.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_getfeatureinfo130.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wms_getfeatureinfo130.xml 2009-02-17 23:16:05 UTC (rev 8569)
@@ -0,0 +1,96 @@
+Content-type: application/vnd.ogc.gml
+
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<msGMLOutput
+ xmlns:gml="http://www.opengis.net/gml"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <road_layer>
+ <road_feature>
+ <gml:boundedBy>
+ <gml:Box srsName="EPSG:4326">
+ <gml:coordinates>-64.617027,44.558875 -64.370387,45.038703</gml:coordinates>
+ </gml:Box>
+ </gml:boundedBy>
+ <FNODE_>903</FNODE_>
+ <TNODE_>975</TNODE_>
+ <LPOLY_>3</LPOLY_>
+ <RPOLY_>3</RPOLY_>
+ <LENGTH>62312.824</LENGTH>
+ <ROAD_>629</ROAD_>
+ <ROAD_ID>629</ROAD_ID>
+ <F_CODE>68</F_CODE>
+ <NAME_E></NAME_E>
+ <NAME_F></NAME_F>
+ </road_feature>
+ <road_feature>
+ <gml:boundedBy>
+ <gml:Box srsName="EPSG:4326">
+ <gml:coordinates>-65.127228,44.399110 -64.552161,44.934696</gml:coordinates>
+ </gml:Box>
+ </gml:boundedBy>
+ <FNODE_>950</FNODE_>
+ <TNODE_>1007</TNODE_>
+ <LPOLY_>3</LPOLY_>
+ <RPOLY_>3</RPOLY_>
+ <LENGTH>84563.578</LENGTH>
+ <ROAD_>655</ROAD_>
+ <ROAD_ID>655</ROAD_ID>
+ <F_CODE>68</F_CODE>
+ <NAME_E></NAME_E>
+ <NAME_F></NAME_F>
+ </road_feature>
+ <road_feature>
+ <gml:boundedBy>
+ <gml:Box srsName="EPSG:4326">
+ <gml:coordinates>-64.577864,44.695012 -63.700184,45.045403</gml:coordinates>
+ </gml:Box>
+ </gml:boundedBy>
+ <FNODE_>903</FNODE_>
+ <TNODE_>908</TNODE_>
+ <LPOLY_>3</LPOLY_>
+ <RPOLY_>3</RPOLY_>
+ <LENGTH>89280.359</LENGTH>
+ <ROAD_>1037</ROAD_>
+ <ROAD_ID>1037</ROAD_ID>
+ <F_CODE>67</F_CODE>
+ <NAME_E></NAME_E>
+ <NAME_F></NAME_F>
+ </road_feature>
+ <road_feature>
+ <gml:boundedBy>
+ <gml:Box srsName="EPSG:4326">
+ <gml:coordinates>-63.714548,44.642829 -63.700184,44.695012</gml:coordinates>
+ </gml:Box>
+ </gml:boundedBy>
+ <FNODE_>908</FNODE_>
+ <TNODE_>914</TNODE_>
+ <LPOLY_>3</LPOLY_>
+ <RPOLY_>3</RPOLY_>
+ <LENGTH>6193.941</LENGTH>
+ <ROAD_>1039</ROAD_>
+ <ROAD_ID>1039</ROAD_ID>
+ <F_CODE>67</F_CODE>
+ <NAME_E></NAME_E>
+ <NAME_F></NAME_F>
+ </road_feature>
+ <road_feature>
+ <gml:boundedBy>
+ <gml:Box srsName="EPSG:4326">
+ <gml:coordinates>-64.370387,44.558875 -63.714548,44.679291</gml:coordinates>
+ </gml:Box>
+ </gml:boundedBy>
+ <FNODE_>914</FNODE_>
+ <TNODE_>975</TNODE_>
+ <LPOLY_>3</LPOLY_>
+ <RPOLY_>3</RPOLY_>
+ <LENGTH>58066.332</LENGTH>
+ <ROAD_>1047</ROAD_>
+ <ROAD_ID>1047</ROAD_ID>
+ <F_CODE>67</F_CODE>
+ <NAME_E></NAME_E>
+ <NAME_F></NAME_F>
+ </road_feature>
+ </road_layer>
+</msGMLOutput>
Added: trunk/msautotest/wxs/expected/wms_getmap130.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/wxs/expected/wms_getmap130.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/wxs/expected/wms_getschemaex.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_getschemaex.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wms_getschemaex.xml 2009-02-17 23:16:05 UTC (rev 8569)
@@ -0,0 +1,7 @@
+Content-type: text/xml
+
+<?xml version='1.0' encoding="ISO-8859-1"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wms="http://www.opengis.net/wms" xmlns:ms="http://mapserver.gis.umn.edu/mapserver" targetNamespace="http://mapserver.gis.umn.edu/mapserver" elementFormDefault="qualified" version="1.0.0">
+ <import namespace="http://www.opengis.net/wms" schemaLocation="http://ogc.dmsolutions.ca/wms/1.3.0/capabilities_1_3_0.xsd"/>
+ <element name="GetStyles" type="wms:OperationType" substitutionGroup="wms:_ExtendedOperation"/>
+</schema>
\ No newline at end of file
Modified: trunk/msautotest/wxs/wms_simple.map
===================================================================
--- trunk/msautotest/wxs/wms_simple.map 2009-02-17 22:19:43 UTC (rev 8568)
+++ trunk/msautotest/wxs/wms_simple.map 2009-02-17 23:16:05 UTC (rev 8569)
@@ -5,7 +5,7 @@
#
#
# Capabilities
-# RUN_PARMS: wms_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
+# RUN_PARMS: wms_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
#
# version exception
# RUN_PARMS: wms_version_exception.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1" > [RESULT]
@@ -26,10 +26,30 @@
# 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]
#
#
-
+# 1.3.0 tests
+#
+# exception
+# RUN_PARMS: wms_exception130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=DescribeLayer" > [RESULT]
+#
+# GetSchemaExtension
+# RUN_PARMS: wms_getschemaex.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetSchemaExtension" > [RESULT]
+#
+# Capabilities
+# RUN_PARMS: wms_cap130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities" > [RESULT_DEVERSION]
+#
+# Layer description
+# RUN_PARMS: wms_describe130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=DescribeLayer&LAYERS=road" > [RESULT]
+#
+# GetMap
+# RUN_PARMS: wms_getmap130.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&CRS=EPSG%3A4326&BBOX=35.18749999863387,-141.0000000021858,90.81250000136613,-51.99999999781419&WIDTH=560&HEIGHT=350&LAYERS=road&STYLES=&FORMAT=image%2Fpng&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&EXCEPTIONS=INIMAGE" > [RESULT_DEMIME]
+#
+# GetFeatureInfo
+# RUN_PARMS: wms_getfeatureinfo130.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&CRS=EPSG%3A4326&BBOX=35.18749999863387,-141.0000000021858,90.81250000136613,-51.99999999781419&WIDTH=560&HEIGHT=350&LAYERS=road&STYLES=&FORMAT=image%2Fpng&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE&QUERY_LAYERS=road&INFO_FORMAT=application%2Fvnd.ogc.gml&I=483&J=291&FEATURE_COUNT=5" > [RESULT]
+#
+# 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]
-
NAME WMS_TEST
STATUS ON
SIZE 400 300
@@ -66,6 +86,22 @@
"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_keywordlist" "ogc,wms,mapserver"
+ "ows_service_onlineresource" "http://www.mapserver.org/"
+ "ows_fees" "None"
+ "ows_accessconstraints" "None"
+ "ows_addresstype" "postal"
+ "ows_address" "123 SomeRoad Road"
+ "ows_city" "Toronto"
+ "ows_stateorprovince" "Ontario"
+ "ows_postcode" "xxx-xxx"
+ "ows_country" "Canada"
+ "ows_contactelectronicmailaddress" "tomkralidis at xxxxxxx.xxx"
+ "ows_contactvoicetelephone" "+xx-xxx-xxx-xxxx"
+ "ows_contactfacsimiletelephone" "+xx-xxx-xxx-xxxx"
+ "ows_contactperson" "Tom Kralidis"
+ "ows_contactorganization" "MapServer"
+ "ows_contactposition" "self"
END
END
@@ -82,9 +118,12 @@
LAYER
NAME road
DATA road
+ TEMPLATE "ttt"
METADATA
"wms_title" "road"
"wms_description" "Roads of I.P.E."
+ "wms_srs" "EPSG:43204"
+ "gml_include_items" "all"
END
TYPE LINE
STATUS ON
More information about the mapserver-commits
mailing list