[mapserver-commits] r7371 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Feb 12 13:13:13 EST 2008
Author: tomkralidis
Date: 2008-02-12 13:13:13 -0500 (Tue, 12 Feb 2008)
New Revision: 7371
Modified:
trunk/mapserver/HISTORY.TXT
trunk/mapserver/mapwcs.c
Log:
mapwcs.c: make GetCoverage demand one of TIME or BBOX (#2504)
Modified: trunk/mapserver/HISTORY.TXT
===================================================================
--- trunk/mapserver/HISTORY.TXT 2008-02-12 13:49:20 UTC (rev 7370)
+++ trunk/mapserver/HISTORY.TXT 2008-02-12 18:13:13 UTC (rev 7371)
@@ -13,6 +13,8 @@
Current Version (5.1-dev, SVN trunk):
-------------------------------------
+- mapwcs.c: make GetCoverage demand one of TIME or BBOX (#2504)
+
- mapwms.c: make GetLegendGraphic listen to TRANSPARENT in OUTPUTFORMAT (#2494)
- OWS: support updatesequence (#2384)
Modified: trunk/mapserver/mapwcs.c
===================================================================
--- trunk/mapserver/mapwcs.c 2008-02-12 13:49:20 UTC (rev 7370)
+++ trunk/mapserver/mapwcs.c 2008-02-12 18:13:13 UTC (rev 7371)
@@ -1307,6 +1307,12 @@
return msWCSException(map, "MissingParameterValue", "crs", params->version);
}
+ if(!params->time && !params->bbox.minx && !params->bbox.miny
+ && !params->bbox.maxx && !params->bbox.maxy) {
+ msSetError(MS_WCSERR, "One of BBOX or TIME is required", "msWCSGetCoverage()");
+ return msWCSException(map, "MissingParameterValue", "coverage", params->version);
+ }
+
if( params->coverages == NULL || params->coverages[0] == NULL ) {
msSetError( MS_WCSERR,
"Required parameter COVERAGE was not supplied.",
More information about the mapserver-commits
mailing list