[mapserver-commits] r11299 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Tue Mar 22 07:19:08 EDT 2011
Author: schpidi
Date: 2011-03-22 04:19:08 -0700 (Tue, 22 Mar 2011)
New Revision: 11299
Modified:
trunk/mapserver/mapwcs20.c
Log:
Return exception if projection is unknown instead of failure.
Modified: trunk/mapserver/mapwcs20.c
===================================================================
--- trunk/mapserver/mapwcs20.c 2011-03-21 22:17:44 UTC (rev 11298)
+++ trunk/mapserver/mapwcs20.c 2011-03-22 11:19:08 UTC (rev 11299)
@@ -3371,7 +3371,8 @@
msSetError(MS_WCSERR,
"Error loading CRS %s.",
"msWCSGetCoverage20()", params->subsetcrs);
- return MS_FAILURE;
+ return msWCSException(map, "InvalidParameterValue",
+ "projection", params->version);
}
if(msProjectionsDiffer(&imageProj, &subsetProj))
More information about the mapserver-commits
mailing list