NAME
gnis2db - convert GNIS feature-name files to database
SYNOPSIS
gnis2db gnis_file database [State]
SUPPORT
Contributed code: NO BRTT support.
THIS PIECE OF SOFTWARE WAS CONTRIBUTED BY THE ANTELOPE USER COMMUNITY. BRTT DISCLAIMS ALL OWNERSHIP, LIABILITY, AND SUPPORT FOR THIS PIECE OF SOFTWARE.
FOR HELP WITH THIS PIECE OF SOFTWARE, PLEASE CONTACT THE CONTRIBUTING AUTHOR.
DESCRIPTION
gnis2db takes a file of geographic names in GNIS (Geographic
Name Information System) format, and converts it to a database
in the places1.2 or related schema.
Two common formats are supported. If no State is specified on the
command line, the input lines will be parsed as though the first
element is the state in which the feature occurs. If a State (e.g.
"CA" or "AK") is specified on the command line, this is used in all
rows added to the database, and the input lines are parsed assuming
that they do not contain the state as the first field. [N.B. if state
is not the first field of the input lines, but no single state is
appropriate for the entire file, the state may be specified on the
command line as the null value "-"].
EXAMPLE
SEE ALSO
http://mapping.usgs.gov/
BUGS AND CAVEATS
There are a number of different GNIS file formats. Only two
are supported.
AUTHOR
Jennifer Eakins. Tweaked for new schema and installed by
Kent Lindquist.
Antelope User Group Contributed Software