HOW TO

Create an FGDC-only metadata document

Summary

Instructions provided describe how to create an FGDC-only metadata document. To create an FGDC-only metadata document, turn off the ISO metadata synchronizer, then run a script to remove any existing ISO elements from the metadata. The Geography Network synchronizer must be turned on.

Procedure



  1. Turn off the ISO metadata synchronizer.

    Summary:
    Instructions provided describe how to turn metadata synchronizers on and off using the Set Working Synchronizers command. This command is provided with ArcCatalog, but does not appear on the Metadata toolbar by default. Add it to the Metadata toolbar from the Customize dialog box.

    Procedure:


    1. If the Metadata toolbar is not visible in ArcCatalog, click the View menu, navigate to Toolbars, and check Metadata.
    2. Click the Tools menu and click Customize.
    3. Click the Commands tab.
    4. Click Metadata in the Categories list on the left.
    5. Click the Set Working Synchronizers command in the Commands list on the right.
    6. Drag the command to any location on the Metadata toolbar and drop it.
    7. Click Close in the Customize dialog box.
    8. Click the Set Working Synchronizers button.
    9. Check the metadata synchronizers to use.
    10. Uncheck the unwanted metadata synchronizers.
    11. Click OK in the Set Working Synchronizers dialog box.

  2. Select the item in ArcCatalog that requires ISO metadata deletion.
  3. Open the Visual Basic Editor in ArcCatalog.

    In ArcCatalog, select Tools > Macros > Visual Basic Editor.

  4. Copy the VBA script below into a module.

    Code:
    Sub deleteISOelements()

    Dim pGxApp As IGxApplication
    Dim pGxView As IGxView
    Dim pMD As IMetadata
    Dim pPS As IPropertySet

    Set pGxApp = Application
    Set pMD = pGxApp.SelectedObject
    Set pPS = pMD.Metadata

    pPS.RemoveProperty "mdFileID"
    pPS.RemoveProperty "mdLang"
    pPS.RemoveProperty "mdChar"
    pPS.RemoveProperty "mdParentID"
    pPS.RemoveProperty "mdHrLv"
    pPS.RemoveProperty "mdHrLvName"
    pPS.RemoveProperty "mdContact"
    pPS.RemoveProperty "mdDateSt"
    pPS.RemoveProperty "mdStanName"
    pPS.RemoveProperty "mdStanVer"
    pPS.RemoveProperty "distInfo"
    pPS.RemoveProperty "dataIdInfo"
    pPS.RemoveProperty "appSchInfo"
    pPS.RemoveProperty "porCatInfo"
    pPS.RemoveProperty "mdMaint"
    pPS.RemoveProperty "mdConst"
    pPS.RemoveProperty "dqInfo"
    pPS.RemoveProperty "spatRepInfo"
    pPS.RemoveProperty "refSysInfo"
    pPS.RemoveProperty "contInfo"
    pPS.RemoveProperty "mdExtInfo"

    pMD.Metadata = pPS

    Set pGxView = pGxApp.View
    If TypeOf pGxView Is IGxDocumentationView Then pGxView.Refresh

    End Sub

  5. Run the script.

Article ID:000006472

Software:
  • ArcMap 9 x
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic