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

svn at osgeo.org svn at osgeo.org
Tue Nov 22 14:56:11 EST 2011


Author: assefa
Date: 2011-11-22 11:56:11 -0800 (Tue, 22 Nov 2011)
New Revision: 12794

Added:
   trunk/msautotest/wxs/data/lakes2.dbf
   trunk/msautotest/wxs/data/lakes2.prj
   trunk/msautotest/wxs/data/lakes2.qpj
   trunk/msautotest/wxs/data/lakes2.shp
   trunk/msautotest/wxs/data/lakes2.shx
   trunk/msautotest/wxs/expected/wms_dimension_extent_1.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_2.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_3.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_4.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_5.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_1.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_2.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_3.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_4.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_5.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_6.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_7.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_8.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_range_1.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_range_2.png
   trunk/msautotest/wxs/expected/wms_dimension_extent_range_3.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_range_4.xml
   trunk/msautotest/wxs/expected/wms_dimension_extent_range_5.xml
   trunk/msautotest/wxs/expected/wms_dimension_numeric_1.png
   trunk/msautotest/wxs/expected/wms_dimension_numeric_2.png
   trunk/msautotest/wxs/expected/wms_dimension_numeric_3.xml
   trunk/msautotest/wxs/expected/wms_dimension_numeric_4.xml
   trunk/msautotest/wxs/expected/wms_dimension_numeric_5.xml
   trunk/msautotest/wxs/expected/wms_dimension_string_1.png
   trunk/msautotest/wxs/expected/wms_dimension_string_2.png
   trunk/msautotest/wxs/expected/wms_dimension_string_3.xml
   trunk/msautotest/wxs/expected/wms_dimension_string_4.xml
   trunk/msautotest/wxs/expected/wms_dimension_string_5.xml
   trunk/msautotest/wxs/wms_dimensions.map
Log:
tests for wms dimensions

Added: trunk/msautotest/wxs/data/lakes2.dbf
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/data/lakes2.dbf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/data/lakes2.prj
===================================================================
--- trunk/msautotest/wxs/data/lakes2.prj	                        (rev 0)
+++ trunk/msautotest/wxs/data/lakes2.prj	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1 @@
+GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
\ No newline at end of file

Added: trunk/msautotest/wxs/data/lakes2.qpj
===================================================================
--- trunk/msautotest/wxs/data/lakes2.qpj	                        (rev 0)
+++ trunk/msautotest/wxs/data/lakes2.qpj	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1 @@
+GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4326"]]

Added: trunk/msautotest/wxs/data/lakes2.shp
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/data/lakes2.shp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/data/lakes2.shx
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/data/lakes2.shx
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_1.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_2.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_3.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_3.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_3.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 470 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_4.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_4.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_4.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 470,460 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_5.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_5.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_5.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 600,460 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_1.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_2.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_3.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_3.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_3.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 490,700 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_4.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_4.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_5.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_5.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_6.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_6.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_6.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 400/500 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_7.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_7.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_7.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 400/500,300/600 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_8.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_8.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_multi_range_8.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 490/500,300/600 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_range_1.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_range_1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_range_2.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_extent_range_2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_range_3.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_range_3.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_range_3.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 400/600 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_range_4.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_range_4.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_range_4.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 400/600,300/500 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_extent_range_5.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_extent_range_5.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_extent_range_5.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 500/600,300/500 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_numeric_1.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_numeric_1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_numeric_2.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_numeric_2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_numeric_3.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_numeric_3.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_numeric_3.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 390 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_numeric_4.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_numeric_4.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_numeric_4.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 390,380 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_numeric_5.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_numeric_5.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_numeric_5.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,9 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension elevation with a value of 390,480 is invalid or outside the extents defined
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_string_1.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_string_1.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_string_2.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/wxs/expected/wms_dimension_string_2.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/wxs/expected/wms_dimension_string_3.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_string_3.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_string_3.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,10 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension text_dimension with a value of invalid is invalid or outside the extents defined
+msEvalRegex(): Regular expression error. String failed expression test.
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_string_4.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_string_4.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_string_4.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,10 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension text_dimension with a value of invalid1,invalid2 is invalid or outside the extents defined
+msEvalRegex(): Regular expression error. String failed expression test.
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/expected/wms_dimension_string_5.xml
===================================================================
--- trunk/msautotest/wxs/expected/wms_dimension_string_5.xml	                        (rev 0)
+++ trunk/msautotest/wxs/expected/wms_dimension_string_5.xml	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,10 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1">
+<ServiceException code="InvalidDimensionValue">
+msWMSApplyDimension: WMS server error. Dimension text_dimension with a value of invalid1,first is invalid or outside the extents defined
+msEvalRegex(): Regular expression error. String failed expression test.
+</ServiceException>
+</ServiceExceptionReport>

Added: trunk/msautotest/wxs/wms_dimensions.map
===================================================================
--- trunk/msautotest/wxs/wms_dimensions.map	                        (rev 0)
+++ trunk/msautotest/wxs/wms_dimensions.map	2011-11-22 19:56:11 UTC (rev 12794)
@@ -0,0 +1,226 @@
+#
+# Test WMS DIMENSIONS SUPPORT
+#
+# REQUIRES: INPUT=GDAL OUTPUT=PNG SUPPORTS=WMS
+#
+#
+# 1 - extent is muliple numeric values
+#.
+# a- single user value
+# RUN_PARMS: wms_dimension_numeric_1.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&elevation=490" > [RESULT_DEMIME]
+#
+# b- muliple valid values
+# RUN_PARMS: wms_dimension_numeric_2.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&elevation=490,480" > [RESULT_DEMIME]
+#
+#
+# c- invalid single value
+# RUN_PARMS: wms_dimension_numeric_3.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&elevation=390" > [RESULT_DEVERSION]
+#
+# d- invalid multiple values
+# RUN_PARMS: wms_dimension_numeric_4.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&elevation=390,380" > [RESULT_DEVERSION]
+#
+#
+# e- one valid and one invalid: we process it as invalid 
+# RUN_PARMS: wms_dimension_numeric_5.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&elevation=390,480" >  [RESULT_DEVERSION]
+#
+# 2 extent is multiple string values
+#
+# a- single user value
+# RUN_PARMS: wms_dimension_string_1.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&dim_text_dimension=first" > [RESULT_DEMIME]
+#
+# b- muliple valid values
+# RUN_PARMS: wms_dimension_string_2.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&dim_text_dimension=first,second" > [RESULT_DEMIME]
+#
+#
+# c- invalid single value
+# RUN_PARMS: wms_dimension_string_3.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&dim_text_dimension=invalid" > [RESULT_DEVERSION]
+#
+# d- invalid multiple values
+# RUN_PARMS: wms_dimension_string_4.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&dim_text_dimension=invalid1,invalid2" > [RESULT_DEVERSION]
+#
+#
+# e- one valid and one invalid: we process it as invalid 
+# RUN_PARMS: wms_dimension_string_5.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev&dim_text_dimension=invalid1,first" > [RESULT_DEVERSION]
+#
+# 3- extent is numeric range, input is numeric value(s)
+#
+# a- one valid value
+# RUN_PARMS: wms_dimension_extent_1.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=490" > [RESULT_DEMIME]
+#
+# b- muliple valid values
+# RUN_PARMS: wms_dimension_extent_2.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=490,500" > [RESULT_DEMIME]
+#
+# c- invalid single value
+# RUN_PARMS: wms_dimension_extent_3.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=470" > [RESULT_DEVERSION]
+#
+# d- invalid multiple values
+# RUN_PARMS: wms_dimension_extent_4.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=470,460" > [RESULT_DEVERSION]
+#
+# e- one valid and one invalid
+# RUN_PARMS: wms_dimension_extent_5.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=600,460" > [RESULT_DEVERSION]
+#
+# 4- extent is numeric range input is range (s)
+#
+# a- one valid range
+# RUN_PARMS: wms_dimension_extent_range_1.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=500/600" > [RESULT_DEMIME]
+#
+# b- multiple valid range
+# RUN_PARMS: wms_dimension_extent_range_2.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=500/600,700/800" > [RESULT_DEMIME]
+#
+# c- invalid range
+# RUN_PARMS: wms_dimension_extent_range_3.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=400/600" > [RESULT_DEVERSION]
+#
+# d- invalid multiple ranges
+# RUN_PARMS: wms_dimension_extent_range_4.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=400/600,300/500" > [RESULT_DEVERSION]
+#
+# e- one valid range and one invalid range: we process it as invalid
+# RUN_PARMS: wms_dimension_extent_range_5.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_range&STYLES=&elevation=500/600,300/500" > [RESULT_DEVERSION]
+#
+#
+# 5- extent is multi range input is value(s), range(s)
+#
+# a- one valid value
+# RUN_PARMS: wms_dimension_extent_multi_range_1.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=490" > [RESULT_DEMIME]
+#
+# b- multiple valid values
+# RUN_PARMS: wms_dimension_extent_multi_range_2.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=490,900" > [RESULT_DEMIME]
+#
+# c- one valid value, one invalid value
+# RUN_PARMS: wms_dimension_extent_multi_range_3.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=490,700" > [RESULT_DEVERSION]
+#
+# d- valid ranges
+# RUN_PARMS: wms_dimension_extent_multi_range_4.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=490/500" > [RESULT_DEMIME]
+#
+#
+# e- valid multiple ranges
+# RUN_PARMS: wms_dimension_extent_multi_range_5.png [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=490/500,800/850" > [RESULT_DEMIME]
+#
+# f- inavalid range
+# RUN_PARMS: wms_dimension_extent_multi_range_6.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=400/500" > [RESULT_DEVERSION]
+#
+# g- inavalid multiple ranges
+# RUN_PARMS: wms_dimension_extent_multi_range_7.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=400/500,300/600" > [RESULT_DEVERSION]
+#
+# h- one valid range and one invalid range
+# RUN_PARMS: wms_dimension_extent_multi_range_8.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=0.000178,-0.002134,0.003420,0.000314&FORMAT=image/png; mode=24bit&WIDTH=300&HEIGHT=300&STYLES=&LAYERS=lakes_elev_multi_range&STYLES=&elevation=490/500,300/600" > [RESULT_DEVERSION]
+#
+
+MAP
+NAME wms_dimesion
+STATUS ON
+SIZE 400 300
+Extent 0.000178 -0.002134  0.003420 0.000314
+UNITS DD
+SHAPEPATH "./data"
+IMAGECOLOR 255 255 255
+
+
+#
+# Start of web interface definition
+#
+WEB
+  IMAGEPATH "/tmp/ms_tmp/" 
+  IMAGEURL "/ms_tmp/"
+
+
+   METADATA
+     "ows_enable_request" "*" 
+     "wms_srs"		   "EPSG:4326"
+  END
+END
+
+PROJECTION
+   "init=epsg:4326"
+END
+
+#
+# Start of layer definitions
+#
+
+
+LAYER
+  NAME lakes_elev
+
+  METADATA
+    "DESCRIPTION" "Lakes with dimesions (elevation and text)"
+     "wms_title"         "Lakes"
+    "wms_description"   "Lakes"
+    "wms_dimensionlist" "elevation, text_dimension"
+    "wms_elevation_item" "ELEV"
+    "wms_elevation_extent" "500, 490, 480"
+    
+    "wms_text_dimension_item" "text_dimen"
+    "wms_text_dimension_extent" "first, second, third"
+
+  END
+  TYPE POLYGON
+  STATUS ON
+  DATA lakes2
+   PROJECTION
+    "init=epsg:4326"
+  END
+  CLASS
+    NAME "Lakes with elevation"
+    STYLE
+#      COLOR 0 0 240
+      OUTLINECOLOR 0 0 199    
+    END
+  END
+END # layer
+
+
+
+LAYER
+  NAME lakes_elev_range
+
+  METADATA
+    "DESCRIPTION" "Lakes with dimesions (elevation and text)"
+     "wms_title"         "Lakes"
+    "wms_description"   "Lakes"
+    "wms_dimensionlist" "elevation"
+    "wms_elevation_item" "ELEV"
+    "wms_elevation_extent" "490/800"
+  END
+  TYPE POLYGON
+  STATUS ON
+  DATA lakes2
+   PROJECTION
+    "init=epsg:4326"
+  END
+  CLASS
+    NAME "Lakes with elevation"
+    STYLE
+#      COLOR 0 0 240
+      OUTLINECOLOR 0 0 199    
+    END
+  END
+END # layer
+
+LAYER
+  NAME lakes_elev_multi_range
+
+  METADATA
+    "DESCRIPTION" "Lakes with dimesions (elevation and text)"
+     "wms_title"         "Lakes"
+    "wms_description"   "Lakes"
+    "wms_dimensionlist" "elevation"
+    "wms_elevation_item" "ELEV"
+    "wms_elevation_extent" "480/500,800/900"
+  END
+  TYPE POLYGON
+  STATUS ON
+  DATA lakes2
+   PROJECTION
+    "init=epsg:4326"
+  END
+  CLASS
+    NAME "Lakes with elevation"
+    STYLE
+#      COLOR 0 0 240
+      OUTLINECOLOR 0 0 199    
+    END
+  END
+END # layer
+
+
+END # Map File



More information about the mapserver-commits mailing list