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

svn at osgeo.org svn at osgeo.org
Thu Oct 15 14:27:03 EDT 2009


Author: tomkralidis
Date: 2009-10-15 14:27:01 -0400 (Thu, 15 Oct 2009)
New Revision: 9465

Added:
   trunk/msautotest/wxs/expected/wms_get_feature_info_raster_feature_count.gml
Modified:
   trunk/msautotest/wxs/tomk_workshop.map
Log:
Add test for feature_count (#3168)


Added: trunk/msautotest/wxs/expected/wms_get_feature_info_raster_feature_count.gml
===================================================================
--- trunk/msautotest/wxs/expected/wms_get_feature_info_raster_feature_count.gml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_get_feature_info_raster_feature_count.gml	2009-10-15 18:27:01 UTC (rev 9465)
@@ -0,0 +1,43 @@
+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">
+	<land_shallow_topo_2048_layer>
+		<land_shallow_topo_2048_feature>
+			<gml:boundedBy>
+				<gml:Box srsName="EPSG:4326">
+					<gml:coordinates>-81.562500,42.187500 -81.562500,42.187500</gml:coordinates>
+				</gml:Box>
+			</gml:boundedBy>
+			<x>-81.5625</x>
+			<y>42.1875</y>
+			<value_0>10</value_0>
+			<value_1>10</value_1>
+			<value_2>51</value_2>
+			<value_list>10,10,51</value_list>
+			<red>10</red>
+			<green>10</green>
+			<blue>51</blue>
+		</land_shallow_topo_2048_feature>
+		<land_shallow_topo_2048_feature>
+			<gml:boundedBy>
+				<gml:Box srsName="EPSG:4326">
+					<gml:coordinates>-80.859375,42.187500 -80.859375,42.187500</gml:coordinates>
+				</gml:Box>
+			</gml:boundedBy>
+			<x>-80.859375</x>
+			<y>42.1875</y>
+			<value_0>7</value_0>
+			<value_1>7</value_1>
+			<value_2>52</value_2>
+			<value_list>7,7,52</value_list>
+			<red>7</red>
+			<green>7</green>
+			<blue>52</blue>
+		</land_shallow_topo_2048_feature>
+	</land_shallow_topo_2048_layer>
+</msGMLOutput>

Modified: trunk/msautotest/wxs/tomk_workshop.map
===================================================================
--- trunk/msautotest/wxs/tomk_workshop.map	2009-10-15 18:08:14 UTC (rev 9464)
+++ trunk/msautotest/wxs/tomk_workshop.map	2009-10-15 18:27:01 UTC (rev 9465)
@@ -34,6 +34,9 @@
 # Generate WMS GetFeatureInfo GML format on raster data
 # RUN_PARMS: wms_get_feature_info_raster.gml [MAPSERV] QUERY_STRING="map=[MAPFILE]&version=1.1.1&service=WMS&request=GetFeatureInfo&srs=EPSG:4326&bbox=-180,-90,180,90&format=image/png&layers=land_shallow_topo_2048,rivers&styles=,&transparent=true&width=500&height=300&query_layers=land_shallow_topo_2048&info_format=application/vnd.ogc.gml&x=141&y=91&radius=10" > [RESULT]
 #
+# Generate WMS GetFeatureInfo GML format on raster data, feature_count=2
+# RUN_PARMS: wms_get_feature_info_raster_feature_count.gml [MAPSERV] QUERY_STRING="map=[MAPFILE]&version=1.1.1&service=WMS&request=GetFeatureInfo&srs=EPSG:4326&bbox=-180,-90,180,90&format=image/png&layers=land_shallow_topo_2048,rivers&styles=,&transparent=true&width=500&height=300&query_layers=land_shallow_topo_2048&info_format=application/vnd.ogc.gml&x=141&y=91&radius=10&feature_count=2" > [RESULT]
+#
 # Generate WMS GetLegendGraphic
 # RUN_PARMS: wms_get_legend_graphic.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&version=1.1.1&service=WMS&request=GetLegendGraphic&layer=rivers&format=image/png" > [RESULT_DEMIME]
 #



More information about the mapserver-commits mailing list