ISO Metadata from the NMMR

From NGDCWiki

Revision as of 08:35, 24 August 2009 by Haber (Talk | contribs)
Jump to: navigation, search

We are working on developing the ability to produce ISO compliant XML from the NMMR. This approach takes advantage of existing content and user interfaces, but it is limited to FGDC content. This project involves almost all members of the Enterprise Data Systems Group at NGDC. Specific authors are:

Contents

Search

Using the IDB to simulate REST Access to metadata components

CodeLists

This example shows how to generate a reference to an ISO Codelist (CI_RoleCode) with a given code (originator):

$urlContentTool.getURLContent("http://www.ngdc.noaa.gov/idb/struts/results?op_0=eq&v_0=CI_RoleCode&op_1=eq&v_1=originator&t=102865&s=26&d=170&nd=suppress")

gives <CI_RoleCode codeList="http://www.tc211.org/ISO19139/resources/codeList.xml#CI_RoleCode" codeListValue="6">originator</CI_RoleCode>

CI_ResponsibleParty

This example shows how to generate a CI_ResponsibleParty component with a given CI_RoleCode = "distributor": </gmd:distributorContact> $urlContentTool.getURLContent("http://www.ngdc.noaa.gov/idb/struts/results?eq_0=$DISTRIBUTORCONTACTID&ROLE=distributor&t=102865&s=51&d=130&nd=suppress")</gmd:distributorContact>

MD_MaintenanceInformation

The ISO Staqndard includes two type of MD_MaintenanceInformation objects. The metadataMaintenance object is referenced from the MD_Metadata object. The resourceMaintenance object is referenced from the MD_Identification object. The object type must be specified in the URL:

$urlContentTool.getURLContent("http://www.ngdc.noaa.gov/idb/struts/results?op_0=eq&v_0=Metadata&op_1=l&v_1=$FILEIDENTIFIER&t=102865&s=43&d=180&nd=suppress")
or
$urlContentTool.getURLContent("http://www.ngdc.noaa.gov/idb/struts/results?op_0=eq&v_0=Resource&op_1=l&v_1=$FILEIDENTIFIER&t=102865&s=43&d=180&nd=suppress")

Originator/Publisher Contacts

  • Get composite IDs using originators/publishers This link searches the existing FGDC Originators and Publishers for a particular string. It supports a wider range of queries than the NMMR interface. Use the search to generate a comma separated string of IDs that can then be used to select records from the fgdcCitation record set in the NMMR. The "Insert Contact" command can then be used to insert the appropriate contacts into those records.
  • Search citations by contact counts This link shows the number of FGDC originators/publishers and the number of originator/publisher contacts in the NMMR. When the number of FGDC originators = number of originator contact and the number of FGDC publishers = the number of publisher contacts, the contacts are used in the ISO translation. This query is based on a view that updates every two hours so changes in the NMMR will not show up immediately.

Display Looks

MD_Metadata = 160

MD_Distribution = 184
MD_Distributor = 176
distributorContact = 130
distributorFormat = 175
distributionOrderProcess = 177
MD_MaintenanceInformation = 180


EX_EXTENT = 173

EX_geographicDescription = 174


LI_Lineage = 685,186,188,191,686

LI_SOURCE = 188
LI_PROCESSSTEP = 186

IDB Templateset

IDB Dataset Page

Component Created by Parent View XML Search/Display Looks XML Wiki Page
MD_METADATA Habermann ISOMD.MD_METADATA_NMMR_VU 44/160 ISO MD_METADATA (XML)
EX_EXTENT Froehlich ISOMD.FGDC_EX_EXTENT_NMMR_VU 53/173 ISO EX_EXTENT (XML) ISO EX_EXTENT
EX_geographicDescription Froehlich ISOMD.FGDC_EX_EXTENT_NMMR_VU 54/174 ISO EX_geographicDescription (xml, Keyword and Thesaurus) ISO EX_geographicDescription
MD_FORMAT Froehlich ISOMD.MD_FORMAT_NMMR_VU 53/175 ISO MD_FORMAT (XML) ISO MD_FORMAT
MD_Distributor Froehlich ISOMD.MD_DISTRIBUTOR_NMMR_VU 53/176 ISO MD_DISTRIBUTOR (XML) ISO MD_DISTRIBUTOR
MD_StandardOrderProcess Froehlich ISOMD.MD_SOP_NMMR_VU 53/177 ISO MD_StandardOrderProcess (XML) ISO MD_StandardOrderProcess
MD_MaintenanceInformation Froehlich ISOMD.MD_MAINTENANCEINFO_NMMR_VU 43/180 ISO MD_MaintenanceInformation (xml) ISO MD_MaintenanceInformation
CI_DATE Froehlich ISOMD.CI_DATE_NMMR_VU 34/181 ISO CI_DATE (xml) ISO CI_DATE
MD_DataIdentification Froehlich ISOMD.MD_IDENTIFICATION_NMMR_VU 53/182 ISO MD_DataIdentification (xml) ISO MD_DataIdentification
MD_DISTRIBUTION Froehlich ISOMD.MD_DISTRIBUTOR_NMMR_VU 53/184 ISO MD_DISTRIBUTION (XML) ISO MD_DISTRIBUTION
LI_PROCESSSTEP Froehlich ISOMD.LI_PROCESSSTEP_NMMR_VU 53/186 ISO LI_PROCESSSTEP (XML) ISO LI_PROCESSSTEP
LI_SOURCE Froehlich ISOMD.LI_SOURCE_NMMR_VU 53/188 ISO LI_SOURCE (XML) ISO LI_SOURCE
LI_Lineage Froehlich Made up of LI_PROCESSSTEP & LI_SOURCE 53/189 ISO LI_Lineage (XML) ISO LI_Lineage
Personal tools