[OpenLayers-Commits] r12452 -
sandbox/camptocamp/ifremer/openlayers/lib/OpenLayers/Format/CSWGetRecords
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Mon Jan 23 09:13:53 EST 2012
Author: fvanderbiest
Date: 2012-01-23 06:13:52 -0800 (Mon, 23 Jan 2012)
New Revision: 12452
Modified:
sandbox/camptocamp/ifremer/openlayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js
Log:
[camptocamp/ifremer] CSWGetRecords v2_0_2 - more things parsed
Modified: sandbox/camptocamp/ifremer/openlayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js
===================================================================
--- sandbox/camptocamp/ifremer/openlayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js 2012-01-12 13:36:43 UTC (rev 12451)
+++ sandbox/camptocamp/ifremer/openlayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js 2012-01-23 14:13:52 UTC (rev 12452)
@@ -158,6 +158,7 @@
"CI_Address": "pass",
"MD_DataIdentification": "pass",
"MD_Keywords": "pass",
+ "MD_Constraints": "pass",
"MD_LegalConstraints": "pass",
"MD_Resolution": "pass",
"MD_RepresentativeFraction": "pass",
@@ -189,6 +190,8 @@
"LI_ProcessStep":"pass",
"MD_ReferenceSystem":"pass",
"PT_FreeText": "pass",
+ "MD_Identifier": "pass",
+ "MD_Georectified": "pass",
// createManyChildren
"contact": "createManyChildren",
"voice": "createManyChildren",
@@ -325,7 +328,10 @@
"metadataStandardVersion": "createOneChild",
"individualName": "createOneChild",
"organisationName":"createOneChild",
- "positionName":"createOneChild"
+ "positionName":"createOneChild",
+ "thesaurusName":"createOneChild",
+ "pointInPixel":"createOneChild",
+ "distance":"createOneChild"
},
/**
@@ -470,6 +476,10 @@
"MD_TopicCategoryCode": function(node, obj) {
obj.topicCategoryCode = this.getChildValue(node);
},
+ "MD_PixelOrientationCode": function(node, obj) {
+ obj.pixelOrientationCode = this.getChildValue(node);
+ // TODO: new parser method for "MD_TopicCategoryCode" & "MD_PixelOrientationCode"
+ },
"URL": function(node, obj) {
obj.URL = this.getChildValue(node);
},
More information about the Commits
mailing list