code
stringlengths
3
6.57k
CI_ResponsibleParty(i)
self.contact.append(o)
md.find(util.nspath_eval('gmd:dateStamp/gco:DateTime', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:metadataStandardName/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:metadataStandardVersion/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:referenceSystemInfo/gmd:MD_ReferenceSystem', namespaces)
MD_ReferenceSystem(val)
md.find(util.nspath_eval('gmd:identificationInfo/gmd:MD_DataIdentification', namespaces)
md.find(util.nspath_eval('gmd:identificationInfo/srv:SV_ServiceIdentification', namespaces)
MD_DataIdentification(val, 'dataset')
MD_DataIdentification(val2, 'service')
SV_ServiceIdentification(val2)
md.findall(util.nspath_eval('gmd:identificationInfo', namespaces)
list(idinfo)
util.xmltag_split(val.tag)
self.identificationinfo.append(MD_DataIdentification(val, 'dataset')
self.identificationinfo.append(MD_DataIdentification(val, 'service')
self.identificationinfo.append(SV_ServiceIdentification(val)
md.find(util.nspath_eval('gmd:distributionInfo/gmd:MD_Distribution', namespaces)
MD_Distribution(val)
md.find(util.nspath_eval('gmd:dataQualityInfo/gmd:DQ_DataQuality', namespaces)
DQ_DataQuality(val)
CI_Date(object)
__init__(self, md=None)
md.find(util.nspath_eval('gmd:date/gco:Date', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:date/gco:DateTime', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:dateType/gmd:CI_DateTypeCode', namespaces)
_testCodeListValue(val)
CI_ResponsibleParty(object)
__init__(self, md=None)
md.find(util.nspath_eval('gmd:individualName/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:organisationName/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:positionName/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:phone/gmd:CI_Telephone/gmd:voice/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:phone/gmd:CI_Telephone/gmd:facsimile/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:deliveryPoint/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:city/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:administrativeArea/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:postalCode/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:country/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:address/gmd:CI_Address/gmd:electronicMailAddress/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:contactInfo/gmd:CI_Contact/gmd:onlineResource/gmd:CI_OnlineResource', namespaces)
CI_OnlineResource(val)
_testCodeListValue(md.find(util.nspath_eval('gmd:role/gmd:CI_RoleCode', namespaces)
MD_DataIdentification(object)
__init__(self, md=None, identtype=None)
md.find(util.nspath_eval('gmd:citation/gmd:CI_Citation/gmd:title/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:citation/gmd:CI_Citation/gmd:alternateTitle/gco:CharacterString', namespaces)
util.testXMLValue(val)
md.find(util.nspath_eval('gmd:aggregationInfo', namespaces)
util.testXMLValue(val)
md.findall(util.nspath_eval('gmd:citation/gmd:CI_Citation/gmd:identifier/gmd:RS_Identifier/gmd:code/gco:CharacterString', namespaces)
util.testXMLValue(i)
self.uricode.append(val)
md.findall(util.nspath_eval('gmd:citation/gmd:CI_Citation/gmd:identifier/gmd:RS_Identifier/gmd:codeSpace/gco:CharacterString', namespaces)
util.testXMLValue(i)
self.uricodespace.append(val)
md.findall(util.nspath_eval('gmd:citation/gmd:CI_Citation/gmd:date/gmd:CI_Date', namespaces)
self.date.append(CI_Date(i)
md.findall(util.nspath_eval('gmd:resourceConstraints/gmd:MD_Constraints/gmd:useLimitation/gco:CharacterString', namespaces)
util.testXMLValue(i)
self.uselimitation.append(val)
md.findall(util.nspath_eval('gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:accessConstraints/gmd:MD_RestrictionCode', namespaces)
_testCodeListValue(i)
self.accessconstraints.append(val)
md.findall(util.nspath_eval('gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:accessConstraints/gmd:MD_ClassificationCode', namespaces)
_testCodeListValue(i)
self.classification.append(val)
md.findall(util.nspath_eval('gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:otherConstraints/gco:CharacterString', namespaces)
util.testXMLValue(i)
self.otherconstraints.append(val)
md.findall(util.nspath_eval('gmd:resourceConstraints/gmd:MD_SecurityConstraints/gmd:useLimitation', namespaces)
util.testXMLValue(i)
self.securityconstraints.append(val)
md.findall(util.nspath_eval('gmd:resourceConstraints/gmd:MD_LegalConstraints/gmd:useConstraints/gmd:MD_RestrictionCode', namespaces)
_testCodeListValue(i)
self.useconstraints.append(val)
md.findall(util.nspath_eval('gmd:spatialResolution/gmd:MD_Resolution/gmd:equivalentScale/gmd:MD_RepresentativeFraction/gmd:denominator/gco:Integer', namespaces)
util.testXMLValue(i)
self.denominators.append(val)
md.findall(util.nspath_eval('gmd:spatialResolution/gmd:MD_Resolution/gmd:distance/gco:Distance', namespaces)
util.testXMLValue(i)
self.distance.append(val)