
Metadata
|
We are in the process of including FGDC Standard metadata
with our data where possible. This page is a simple tutorial that
describes how we process our metadata and what formats we use.
Information about both are available here at the FGDC site and at the USGS metadata site. To get these utilities, go to the USGS metadata site and download the "small package". The two files are included in the package and can be copied into other directories independently.
Example of cns command in DOS window: C:> cns -o myfile2.txt myfile.txt This tells the program to use the input file myfile.txt to create the new file (output file--indicated by the "-o") myfile2.txt.
Example of mp command in DOS window: C:> mp -t myfile.txt -h myfile.html -f myfile-faq.html -s myfile.sgml myfile.txt You are choosing what each file name will be. The switches (-t, -h, -f, -s) determine what kind of file they are going to be. Warning: Make sure you name your "-h" and your "-f" files different names or one will overwrite the other. You can see I've added a "-faq" to the FAQ file. You can choose how you wish to rename yours (or if you want the FAQ file at all). Other logical options would be things like "myfile-f.html" or "myfilef.html". The input file should be an ASCII text file that has been through the cns program. The extension of the input file does not have to be .txt as long as the file is in the ASCII format (could be .met, for example). It is also important to make all of the formatted files that you want at the same time. The program makes links at the top of each metadata file to the other formats that are available. If you don't make them all at once, it will not know which other formats to link to. This is why, in the above example, I am overwriting the original text file, even though I obviously already have the metadata in .txt format (because it is the input file at the end of the command line). If you decide later that you'd like the metadata in .xml format as well, you should start from scratch by including all of the switches from the example and add "-x myfile.xml" into the line.
|
|
|
Updated: Oct. 25, 2001 |