USGS Geoscience Data Catalog
On this site I am exploring the use of controlled vocabularies in the Keywords section of the FGDC metadata. By controlled vocabularies I refer to formally-defined lists of terms, usually hierarchical, that are preferred for use in specific ways. By controlled I mean that you can't just use any terms you like. The list is maintained by an authority (a person or group) who ensures that the terms are all defined consistently and have well-defined relationships. I am using two such vocabularies, one for place names and the other for theme keywords.
For place names I have chosen to use two Federal Information Processing Standards (FIPS), 6-4 and 10-4. FIPS 6-4 specifies numerical codes for states and counties (or equivalent entities) in the US and its territories. Each state is identified using a two-digit number, and each county within the state is identified using a three-digit number. Thus a county can be unambiguously identified using a five-digit code consisting of its state code and its county code. Unique codes are needed for these place names because many states have counties with the same name (for example Jefferson, Washington, Lincoln, Grand, are common county names).
FIPS 10-4 specifies alphanumeric codes for countries of the world and first-order subdivisions of them. Of the first-order subdivisions I have used only states in the United States and in Mexico and provinces in Canada. This decision reflects the distribution of data that I wish to categorize by place.
I have augmented these standard place names with names of major oceanic regions and names of continental regions. These groupings allow me to build a pick-list interface with a relatively narrow and deep hierarchy, so that users don't have too many choices at the highest level, where they begin to choose places.
Place names by themselves don't help much; the key is to associate each record with the corresponding place names from the controlled vocabulary. You can do this manually, of course, using your favorite text editor or Tkme. Just add lines like this:
Keywords: Place: Place_Keyword_Thesaurus: Augmented FIPS 10-4 and FIPS 6-4, version 1.0 Place_Keyword: US56 = Wyoming
But when you're dealing with a large number of records, it helps to use a specialize tool for this purpose. The tool I've developed is called the Place Keyword Assistant. This tool is written in Tcl/Tk, so to use this tool, you'll need to install Tcl/Tk on your system and also install the mq extension that enables Tcl/Tk scripts to read, modify, and write FGDC metadata.
The Place Keyword Assistant has the following major functions:
|The Place Keyword Assistant creates three windows as shown in the reduced-size image here. One contains a list of metadata records (by file name) that you can edit. It creates this list by drilling downward through all of the directories below the one where the program is stored. Choose a metadata record from this list. Entries shown in green have some place keywords assigned using this software; those shown in red might have place keywords but not keywords chosen from this list. The second window simply shows the text of each record as it is selected. The third window shows you the place names that you can assign to the metadata record.|
|List of metadata records by directory and file name; green means keywords have been assigned;
red means keywords need to be assigned
|Keyword chooser window (see full-sized example below).|
|Text of the metadata record.|
The keyword chooser window is shown below at full size. It consists of five list windows each of whose contents are determined by the window to its left. In this example the user chose Land from among Oceans and Land, then North America from the list of continents, then United States from the list of countries in North America, then the state of Arizona, and from its counties the one named Graham. The list in the lower right corner contains those places whose names have been selected for inclusion in the metadata record. Its background is blue to distinguish it from the others visually, and its entries include the unique FIPS code associated with each area.
|Add||Enter||Include the most specific place name currently selected.|
|Remove||Backspace||Remove the selected place name from the list.|
|Clear||(none)||Remove all place names from the list.|
|Save||Ctrl-S||Write the listed place names into the metadata record.|
|Prev||Ctrl-P||Write the listed place names into the metadata record and load the previous metadata record from the file list.|
|Skip||PgDn||Leave the current metadata record unchanged and load the next record from the list.|
|Next||Ctrl-N||Write the listed place names into the metadata record and load the next metadata record from the file list.|
|Choices on the Edit menu|
|Copy||Ctrl-C||Copy the current list of place keywords to the clipboard.|
|Paste||Ctrl-V||Paste the clipboard's contents into the current record's list of place keywords.|
tcl832.exe. Choose default install in
.tclas Tcl scripts.
all_win.exe. Allow the installer to store the files in
package require mqthen press Enter.
.met. For this example, suppose this is
D:\data. This file should have a "Tk" icon.
placer.tcl. Good things should happen.
ESRI's ArcExplorer 3 can be used to display US counties (here focusing on the Southwest) with scientific data overlying the county boundaries. Because the counties are shown as polygons, these can be selected when their layer is made active. After selecting the counties that overlap the scientific data, the user clicks on the Attributes button in the ArcExplorer toolbar to bring up the table of attributes of the selected counties. This table is divided in two panes by a vertical bar. In the left pane the names of the selected counties are shown. The right pane contains the attributes of the county selected last.
Note that what ArcExplorer shows in the left side of the attribute window is the first item of the layer's DBF file that is not an intrinsic attribute of ArcInfo. The counties layer I have used here was downloaded from the National Atlas of the US. I modified the DBF file by deleting the ArcInfo intrinsic attributes and swapping the column positions of the state name and county name attributes, so that the county name comes first.