[mapserver-commits] r12059 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Mon Aug 15 17:10:32 EDT 2011
Author: schpidi
Date: 2011-08-15 14:10:32 -0700 (Mon, 15 Aug 2011)
New Revision: 12059
Modified:
trunk/mapserver/mapwcs.h
trunk/mapserver/mapwcs20.c
Log:
WCS 2.0: Adjustments to latest CITE tests.
Modified: trunk/mapserver/mapwcs.h
===================================================================
--- trunk/mapserver/mapwcs.h 2011-08-15 16:26:25 UTC (rev 12058)
+++ trunk/mapserver/mapwcs.h 2011-08-15 21:10:32 UTC (rev 12059)
@@ -230,15 +230,14 @@
typedef wcs20coverageMetadataObj * wcs20coverageMetadataObjPtr;
#define MS_WCS_20_PROFILE_CORE "http://www.opengis.net/spec/WCS/2.0/conf/core"
-#define MS_WCS_20_PROFILE_KVP "http://www.opengis.net/spec/WCS_protocol-binding_get-kvp/1.0"
-#define MS_WCS_20_PROFILE_POST "http://www.opengis.net/spec/WCS_protocol-binding_post-xml/1.0"
-#define MS_WCS_20_PROFILE_GEOTIFF "http://www.opengis.net/spec/WCS_coverage-encoding_geotiff/1.0/"
+#define MS_WCS_20_PROFILE_KVP "http://www.opengis.net/spec/WCS_protocol-binding_get-kvp/1.0/conf/get-kvp"
+#define MS_WCS_20_PROFILE_POST "http://www.opengis.net/spec/WCS_protocol-binding_post-xml/1.0/conf/post-xml"
+#define MS_WCS_20_PROFILE_GEOTIFF "http://www.opengis.net/spec/WCS_encoding_geotiff/1.0/conf/geotiff"
#define MS_WCS_20_PROFILE_GML_GEOTIFF "http://www.placeholder.com/GML_and_GeoTIFF"
-#define MS_WCS_20_PROFILE_EPSG "http://www.placeholder.com/EPSG"
+#define MS_WCS_20_PROFILE_CRS "http://www.opengis.net/spec/WCS_service-model_crs-predefined/1.0/conf/crs-predefined"
#define MS_WCS_20_PROFILE_IMAGECRS "http://www.placeholder.com/IMAGECRS"
-#define MS_WCS_20_PROFILE_SCALING "http://www.placeholder.com/SCALING"
-#define MS_WCS_20_PROFILE_INTERPOLATION "http://www.placeholder.com/INTERPOLATION"
-#define MS_WCS_20_PROFILE_RANGESUBSET "http://www.placeholder.com/RANGESUBSET"
+#define MS_WCS_20_PROFILE_SCALING "http://www.opengis.net/spec/WCS_service-model_scaling+interpolation/1.0/conf/scaling+interpolation"
+#define MS_WCS_20_PROFILE_RANGESUBSET "http://www.opengis.net/spec/WCS_service-model_band-subsetting/1.0/conf/band-subsetting"
int msWCSDispatch20(mapObj *map, cgiRequestObj *request, owsRequestObj *ows_request);
Modified: trunk/mapserver/mapwcs20.c
===================================================================
--- trunk/mapserver/mapwcs20.c 2011-08-15 16:26:25 UTC (rev 12058)
+++ trunk/mapserver/mapwcs20.c 2011-08-15 21:10:32 UTC (rev 12059)
@@ -2788,12 +2788,11 @@
MS_WCS_20_PROFILE_CORE, NULL,
MS_WCS_20_PROFILE_KVP, NULL,
MS_WCS_20_PROFILE_POST, NULL,
- MS_WCS_20_PROFILE_EPSG, NULL,
+ MS_WCS_20_PROFILE_CRS, NULL,
MS_WCS_20_PROFILE_IMAGECRS, NULL,
MS_WCS_20_PROFILE_GEOTIFF, "image/tiff",
MS_WCS_20_PROFILE_GML_GEOTIFF, NULL,
MS_WCS_20_PROFILE_SCALING, NULL,
- MS_WCS_20_PROFILE_INTERPOLATION, NULL,
MS_WCS_20_PROFILE_RANGESUBSET, NULL,
NULL, NULL /* guardian */
};
@@ -2875,7 +2874,6 @@
xmlDocPtr psDoc = NULL; /* document pointer */
xmlNodePtr psRootNode,
psOperationsNode,
- psServiceMetadataNode,
psNode;
const char *updatesequence = NULL;
xmlNsPtr psOwsNs = NULL,
@@ -3013,8 +3011,7 @@
/* Service metadata. */
/* -------------------------------------------------------------------- */
/* it is mandatory, but unused for now */
- psServiceMetadataNode = xmlAddChild(psRootNode, xmlNewNode(psWcsNs, BAD_CAST "ServiceMetadata"));
- xmlNewProp(psServiceMetadataNode, BAD_CAST "version", BAD_CAST "1.0.0");
+ xmlAddChild(psRootNode, xmlNewNode(psWcsNs, BAD_CAST "ServiceMetadata"));
/* -------------------------------------------------------------------- */
/* Contents section. */
More information about the mapserver-commits
mailing list