[OpenLayers-Commits] r10963 - sandbox/camptocamp/ifremer/openlayers/build

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Tue Dec 14 09:33:15 EST 2010


Author: fvanderbiest
Date: 2010-12-14 06:33:15 -0800 (Tue, 14 Dec 2010)
New Revision: 10963

Modified:
   sandbox/camptocamp/ifremer/openlayers/build/OpenLayers.cc.js
Log:
camptocamp/ifremer sandbox: new build

Modified: sandbox/camptocamp/ifremer/openlayers/build/OpenLayers.cc.js
===================================================================
--- sandbox/camptocamp/ifremer/openlayers/build/OpenLayers.cc.js	2010-12-14 14:32:09 UTC (rev 10962)
+++ sandbox/camptocamp/ifremer/openlayers/build/OpenLayers.cc.js	2010-12-14 14:33:15 UTC (rev 10963)
@@ -561,14 +561,23 @@
 {attributes:{matchCase:a.matchCase}});this.writeNode("PropertyName",a,b);this.writeNode("Literal",a.value,b);return b},PropertyIsLike:function(a){var b=this.createElementNSPlus("ogc:PropertyIsLike",{attributes:{wildCard:"*",singleChar:".",escapeChar:"!"}});this.writeNode("PropertyName",a,b);this.writeNode("Literal",a.regex2value(),b);return b},BBOX:function(a){var b=this.createElementNSPlus("ogc:BBOX");this.writeNode("PropertyName",a,b);var c=this.writeNode("gml:Envelope",a.value);a.projection&&c.setAttribute("srsName",
 a.projection);b.appendChild(c);return b}},OpenLayers.Format.Filter.v1.prototype.writers.ogc),gml:OpenLayers.Format.GML.v3.prototype.writers.gml,feature:OpenLayers.Format.GML.v3.prototype.writers.feature},writeSpatial:function(a,b){var c=this.createElementNSPlus("ogc:"+b);this.writeNode("PropertyName",a,c);var d;d=a.value instanceof OpenLayers.Geometry?this.writeNode("feature:_geometry",a.value).firstChild:this.writeNode("gml:Envelope",a.value);a.projection&&d.setAttribute("srsName",a.projection);
 c.appendChild(d);return c},CLASS_NAME:"OpenLayers.Format.Filter.v1_1_0"});
-OpenLayers.Format.CSWGetRecords.v2_0_2=OpenLayers.Class(OpenLayers.Format.XML,{namespaces:{xlink:"http://www.w3.org/1999/xlink",xsi:"http://www.w3.org/2001/XMLSchema-instance",csw:"http://www.opengis.net/cat/csw/2.0.2",dc:"http://purl.org/dc/elements/1.1/",dct:"http://purl.org/dc/terms/",ogc:"http://www.opengis.net/ogc",ows:"http://www.opengis.net/ows",geonet:"http://www.fao.org/geonetwork"},defaultPrefix:"csw",version:"2.0.2",schemaLocation:"http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd",
-requestId:null,resultType:null,outputFormat:null,outputSchema:null,startPosition:null,maxRecords:null,DistributedSearch:null,ResponseHandler:null,Query:null,regExes:{trimSpace:/^\s*|\s*$/g,removeSpace:/\s*/g,splitSpace:/\s+/,trimComma:/\s*,\s*/g},initialize:function(a){OpenLayers.Format.XML.prototype.initialize.apply(this,[a])},read:function(a){if(typeof a=="string")a=OpenLayers.Format.XML.prototype.read.apply(this,[a]);if(a&&a.nodeType==9)a=a.documentElement;var b={};this.readNode(a,b);return b},
-readers:{csw:{GetRecordsResponse:function(a,b){b.records=[];this.readChildNodes(a,b);var c=this.getAttributeNS(a,"","version");if(c!="")b.version=c},RequestId:function(a,b){b.RequestId=this.getChildValue(a)},SearchStatus:function(a,b){b.SearchStatus={};var c=this.getAttributeNS(a,"","timestamp");if(c!="")b.SearchStatus.timestamp=c},SearchResults:function(a,b){this.readChildNodes(a,b);for(var c=a.attributes,d={},e=0,f=c.length;e<f;++e)d[c[e].name]=c[e].name=="numberOfRecordsMatched"||c[e].name=="numberOfRecordsReturned"||
-c[e].name=="nextRecord"?parseInt(c[e].nodeValue):c[e].nodeValue;b.SearchResults=d},SummaryRecord:function(a,b){var c={type:"SummaryRecord"};this.readChildNodes(a,c);b.records.push(c)},BriefRecord:function(a,b){var c={type:"BriefRecord"};this.readChildNodes(a,c);b.records.push(c)},DCMIRecord:function(a,b){var c={type:"DCMIRecord"};this.readChildNodes(a,c);b.records.push(c)},Record:function(a,b){var c={type:"Record"};this.readChildNodes(a,c);b.records.push(c)},"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();
-b[c]=this.getChildValue(a)}},geonet:{info:function(a,b){var c={};this.readChildNodes(a,c);b.gninfo=c}},dc:{"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();b[c]instanceof Array||(b[c]=[]);for(var d={},e=a.attributes,f=0,g=e.length;f<g;++f)d[e[f].name]=e[f].nodeValue;d.value=this.getChildValue(a);b[c].push(d)}},dct:{"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();b[c]instanceof Array||(b[c]=[]);b[c].push(this.getChildValue(a))}},ows:OpenLayers.Util.applyDefaults({BoundingBox:function(a,
-b){if(b.bounds){b.BoundingBox=[{crs:b.projection,value:[b.bounds.left,b.bounds.bottom,b.bounds.right,b.bounds.top]}];delete b.projection;delete b.bounds}OpenLayers.Format.OWSCommon.v1_0_0.prototype.readers.ows.BoundingBox.apply(this,arguments)}},OpenLayers.Format.OWSCommon.v1_0_0.prototype.readers.ows)},write:function(a){a=this.writeNode("csw:GetRecords",a);return OpenLayers.Format.XML.prototype.write.apply(this,[a])},writers:{ogc:{SortBy:function(a){var b=this.createElementNSPlus("ogc:SortBy");a.SortProperty&&
-this.writeNode("ogc:SortProperty",a.SortProperty,b);return b},SortProperty:function(a){var b=this.createElementNSPlus("ogc:SortProperty");this.writeNode("ogc:PropertyName",a.PropertyName,b);this.writeNode("ogc:SortOrder",a.SortOrder?a.SortOrder:"ASC",b);return b},PropertyName:function(a){return this.createElementNSPlus("ogc:PropertyName",{value:a})},SortOrder:function(a){return this.createElementNSPlus("ogc:SortOrder",{value:a})}},csw:{GetRecords:function(a){a||(a={});var b=this.createElementNSPlus("csw:GetRecords",
-{attributes:{service:"CSW",version:this.version,requestId:a.requestId||this.requestId,resultType:a.resultType||this.resultType,outputFormat:a.outputFormat||this.outputFormat,outputSchema:a.outputSchema||this.outputSchema,startPosition:a.startPosition||this.startPosition,maxRecords:a.maxRecords||this.maxRecords}});if(a.DistributedSearch||this.DistributedSearch)this.writeNode("csw:DistributedSearch",a.DistributedSearch||this.DistributedSearch,b);var c=a.ResponseHandler||this.ResponseHandler;if(c instanceof
-Array&&c.length>0)for(var d=0,e=c.length;d<e;d++)this.writeNode("csw:ResponseHandler",c[d],b);this.writeNode("Query",a.Query||this.Query,b);return b},DistributedSearch:function(a){return this.createElementNSPlus("csw:DistributedSearch",{attributes:{hopCount:a.hopCount}})},ResponseHandler:function(a){return this.createElementNSPlus("csw:ResponseHandler",{value:a.value})},Query:function(a){a||(a={});var b=this.createElementNSPlus("csw:Query",{attributes:{typeNames:a.typeNames||"csw:Record"}}),c=a.ElementName;
-if(c instanceof Array&&c.length>0)for(var d=0,e=c.length;d<e;d++)this.writeNode("csw:ElementName",c[d],b);else this.writeNode("csw:ElementSetName",a.ElementSetName||{value:"summary"},b);a.Constraint&&this.writeNode("csw:Constraint",a.Constraint,b);a.SortBy&&this.writeNode("ogc:SortBy",a.SortBy,b);return b},ElementName:function(a){return this.createElementNSPlus("csw:ElementName",{value:a.value})},ElementSetName:function(a){return this.createElementNSPlus("csw:ElementSetName",{attributes:{typeNames:a.typeNames},
-value:a.value})},Constraint:function(a){var b=this.createElementNSPlus("csw:Constraint",{attributes:{version:a.version}});if(a.Filter){var c=new OpenLayers.Format.Filter({version:a.version});b.appendChild(c.write(a.Filter))}else if(a.CqlText){a=this.createElementNSPlus("CqlText",{value:a.CqlText.value});b.appendChild(a)}return b}}},CLASS_NAME:"OpenLayers.Format.CSWGetRecords.v2_0_2"});
+OpenLayers.Format.CSWGetRecords.v2_0_2=OpenLayers.Class(OpenLayers.Format.XML,{namespaces:{xlink:"http://www.w3.org/1999/xlink",xsi:"http://www.w3.org/2001/XMLSchema-instance",csw:"http://www.opengis.net/cat/csw/2.0.2",dc:"http://purl.org/dc/elements/1.1/",dct:"http://purl.org/dc/terms/",gco:"http://www.isotc211.org/2005/gco",geonet:"http://www.fao.org/geonetwork",gmd:"http://www.isotc211.org/2005/gmd",gml:"http://www.opengis.net/gml",ogc:"http://www.opengis.net/ogc",ows:"http://www.opengis.net/ows"},
+defaultPrefix:"csw",version:"2.0.2",schemaLocation:"http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd",requestId:null,resultType:null,outputFormat:null,outputSchema:null,startPosition:null,maxRecords:null,DistributedSearch:null,ResponseHandler:null,Query:null,regExes:{trimSpace:/^\s*|\s*$/g,removeSpace:/\s*/g,splitSpace:/\s+/,trimComma:/\s*,\s*/g},initialize:function(a){OpenLayers.Format.XML.prototype.initialize.apply(this,[a])},read:function(a){if(typeof a==
+"string")a=OpenLayers.Format.XML.prototype.read.apply(this,[a]);if(a&&a.nodeType==9)a=a.documentElement;var b={};this.readNode(a,b);return b},readers:{csw:{GetRecordsResponse:function(a,b){b.records=[];this.readChildNodes(a,b);var c=this.getAttributeNS(a,"","version");if(c!="")b.version=c},RequestId:function(a,b){b.RequestId=this.getChildValue(a)},SearchStatus:function(a,b){b.SearchStatus={};var c=this.getAttributeNS(a,"","timestamp");if(c!="")b.SearchStatus.timestamp=c},SearchResults:function(a,
+b){this.readChildNodes(a,b);for(var c=a.attributes,d={},e=0,f=c.length;e<f;++e)d[c[e].name]=c[e].name=="numberOfRecordsMatched"||c[e].name=="numberOfRecordsReturned"||c[e].name=="nextRecord"?parseInt(c[e].nodeValue):c[e].nodeValue;b.SearchResults=d},SummaryRecord:function(a,b){var c={type:"SummaryRecord"};this.readChildNodes(a,c);b.records.push(c)},BriefRecord:function(a,b){var c={type:"BriefRecord"};this.readChildNodes(a,c);b.records.push(c)},DCMIRecord:function(a,b){var c={type:"DCMIRecord"};this.readChildNodes(a,
+c);b.records.push(c)},Record:function(a,b){var c={type:"Record"};this.readChildNodes(a,c);b.records.push(c)},"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();b[c]=this.getChildValue(a)}},gco:{Measure:function(a,b){b.Measure={value:this.getChildValue(a)};for(var c=a.attributes,d=0,e=c.length;d<e;++d)b.Measure[c[d].name]=c[d].nodeValue},"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();b[c]={value:this.getChildValue(a)}}},geonet:{info:function(a,b){var c={};this.readChildNodes(a,
+c);b.gninfo=c}},gmd:{MD_Metadata:function(a,b){var c={type:"MD_Metadata"};this.readChildNodes(a,c);b.records.push(c)},MD_TopicCategoryCode:function(a,b){b.topicCategoryCode=this.getChildValue(a)},URL:function(a,b){b.URL=this.getChildValue(a)},"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();if(c in this.readers.gmd._createOneChild)b[c]=this.readChildNodes(a);else if(c in this.readers.gmd._createManyChildren){b[c]instanceof Array||(b[c]=[]);b[c].push(this.readChildNodes(a))}else if(c in
+this.readers.gmd._pass)this.readChildNodes(a,b);else if(c in this.readers.gmd._readAttributes){c=a.attributes;for(var d=0,e=c.length;d<e;++d)b[c[d].name]=c[d].nodeValue}},_readAttributes:{CI_RoleCode:null,MD_ProgressCode:null,MD_KeywordTypeCode:null,MD_RestrictionCode:null,MD_SpatialRepresentationTypeCode:null,MD_CharacterSetCode:null,CI_DateTypeCode:null,MD_TopologyLevelCode:null,MD_GeometricObjectTypeCode:null,MD_DimensionNameTypeCode:null,MD_CellGeometryCode:null,MD_MaintenanceFrequencyCode:null,
+MD_ScopeCode:null},_pass:{CI_ResponsibleParty:null,CI_Contact:null,CI_Telephone:null,CI_Address:null,MD_DataIdentification:null,MD_Keywords:null,MD_LegalConstraints:null,MD_Resolution:null,MD_RepresentativeFraction:null,EX_Extent:null,EX_GeographicBoundingBox:null,EX_TemporalExtent:null,MD_Distribution:null,MD_Distributor:null,MD_DigitalTransferOptions:null,MD_Format:null,MD_Medium:null,CI_OnlineResource:null,MD_ReferenceSystem:null,RS_Identifier:null,CI_Citation:null,CI_Date:null,MD_GridSpatialRepresentation:null,
+MD_VectorSpatialRepresentation:null,MD_GeometricObjects:null,MD_Dimension:null,MD_MaintenanceInformation:null,MD_ScopeDescription:null},_createManyChildren:{contact:null,voice:null,facsimile:null,deliveryPoint:null,electronicMailAddress:null,identificationInfo:null,pointOfContact:null,status:null,descriptiveKeywords:null,keyword:null,resourceConstraints:null,useLimitation:null,accessConstraints:null,useConstraints:null,otherConstraints:null,spatialResolution:null,spatialRepresentationType:null,language:null,
+characterSet:null,topicCategory:null,extent:null,geographicElement:null,temporalElement:null,distributor:null,transferOptions:null,distributionFormat:null,distributionOrderProcess:null,distributorFormat:null,formatDistributor:null,distributorTransferOptions:null,onLine:null,referenceSystemInfo:null,alternateTitle:null,date:null,identifier:null,citedResponsibleParty:null,presentationForm:null,spatialRepresentationInfo:null,geometricObjects:null,axisDimensionProperties:null,resourceMaintenance:null,
+updateScope:null,updateScopeDescription:null,maintenanceNote:null,attributes:null,features:null,featureInstances:null,attributeInstances:null},_createOneChild:{other:null,maintenanceAndUpdateFrequency:null,userDefinedMaintenanceFrequency:null,dataset:null,citation:null,dateOfNextUpdate:null,dimensionName:null,dimensionSize:null,resolution:null,numberOfDimensions:null,cellGeometry:null,transformationParameterAvailability:null,geometricObjectType:null,geometricObjectCount:null,topologyLevel:null,dateType:null,
+title:null,edition:null,editionDate:null,series:null,otherCitationDetails:null,collectiveTitle:null,ISBN:null,ISSN:null,authority:null,code:null,referenceSystemIdentifier:null,linkage:null,unitsOfDistribution:null,transferSize:null,offLine:null,name:null,version:null,amendmentNumber:null,specification:null,fileDecompressionTechnique:null,distributorContact:null,distributionInfo:null,westBoundLongitude:null,eastBoundLongitude:null,southBoundLatitude:null,northBoundLatitude:null,supplementalInformation:null,
+denominator:null,equivalentScale:null,type:null,purpose:null,"abstract":null,city:null,administrativeArea:null,postalCode:null,country:null,address:null,phone:null,contactInfo:null,role:null,fileIdentifier:null,language:null,dateStamp:null,metadataStandardName:null,metadataStandardVersion:null,individualName:null,organisationName:null,positionName:null}},gml:{TimePeriod:function(a,b){b.TimePeriod={};this.readChildNodes(a,b.TimePeriod)},beginPosition:function(a,b){b.beginPosition=this.getChildValue(a)},
+endPosition:function(a,b){b.endPosition=this.getChildValue(a)}},dc:{"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();b[c]instanceof Array||(b[c]=[]);for(var d={},e=a.attributes,f=0,g=e.length;f<g;++f)d[e[f].name]=e[f].nodeValue;d.value=this.getChildValue(a);b[c].push(d)}},dct:{"*":function(a,b){var c=a.localName||a.nodeName.split(":").pop();b[c]instanceof Array||(b[c]=[]);b[c].push(this.getChildValue(a))}},ows:OpenLayers.Util.applyDefaults({BoundingBox:function(a,b){if(b.bounds){b.BoundingBox=
+[{crs:b.projection,value:[b.bounds.left,b.bounds.bottom,b.bounds.right,b.bounds.top]}];delete b.projection;delete b.bounds}OpenLayers.Format.OWSCommon.v1_0_0.prototype.readers.ows.BoundingBox.apply(this,arguments)}},OpenLayers.Format.OWSCommon.v1_0_0.prototype.readers.ows)},write:function(a){a=this.writeNode("csw:GetRecords",a);return OpenLayers.Format.XML.prototype.write.apply(this,[a])},writers:{ogc:{SortBy:function(a){var b=this.createElementNSPlus("ogc:SortBy");a.SortProperty&&this.writeNode("ogc:SortProperty",
+a.SortProperty,b);return b},SortProperty:function(a){var b=this.createElementNSPlus("ogc:SortProperty");this.writeNode("ogc:PropertyName",a.PropertyName,b);this.writeNode("ogc:SortOrder",a.SortOrder?a.SortOrder:"ASC",b);return b},PropertyName:function(a){return this.createElementNSPlus("ogc:PropertyName",{value:a})},SortOrder:function(a){return this.createElementNSPlus("ogc:SortOrder",{value:a})}},csw:{GetRecords:function(a){a||(a={});var b=this.createElementNSPlus("csw:GetRecords",{attributes:{service:"CSW",
+version:this.version,requestId:a.requestId||this.requestId,resultType:a.resultType||this.resultType,outputFormat:a.outputFormat||this.outputFormat,outputSchema:a.outputSchema||this.outputSchema,startPosition:a.startPosition||this.startPosition,maxRecords:a.maxRecords||this.maxRecords}});if(a.DistributedSearch||this.DistributedSearch)this.writeNode("csw:DistributedSearch",a.DistributedSearch||this.DistributedSearch,b);var c=a.ResponseHandler||this.ResponseHandler;if(c instanceof Array&&c.length>0)for(var d=
+0,e=c.length;d<e;d++)this.writeNode("csw:ResponseHandler",c[d],b);this.writeNode("Query",a.Query||this.Query,b);return b},DistributedSearch:function(a){return this.createElementNSPlus("csw:DistributedSearch",{attributes:{hopCount:a.hopCount}})},ResponseHandler:function(a){return this.createElementNSPlus("csw:ResponseHandler",{value:a.value})},Query:function(a){a||(a={});var b=this.createElementNSPlus("csw:Query",{attributes:{typeNames:a.typeNames||"csw:Record"}}),c=a.ElementName;if(c instanceof Array&&
+c.length>0)for(var d=0,e=c.length;d<e;d++)this.writeNode("csw:ElementName",c[d],b);else this.writeNode("csw:ElementSetName",a.ElementSetName||{value:"summary"},b);a.Constraint&&this.writeNode("csw:Constraint",a.Constraint,b);a.SortBy&&this.writeNode("ogc:SortBy",a.SortBy,b);return b},ElementName:function(a){return this.createElementNSPlus("csw:ElementName",{value:a.value})},ElementSetName:function(a){return this.createElementNSPlus("csw:ElementSetName",{attributes:{typeNames:a.typeNames},value:a.value})},
+Constraint:function(a){var b=this.createElementNSPlus("csw:Constraint",{attributes:{version:a.version}});if(a.Filter){var c=new OpenLayers.Format.Filter({version:a.version});b.appendChild(c.write(a.Filter))}else if(a.CqlText){a=this.createElementNSPlus("CqlText",{value:a.CqlText.value});b.appendChild(a)}return b}}},CLASS_NAME:"OpenLayers.Format.CSWGetRecords.v2_0_2"});



More information about the Commits mailing list