Thesaurus info
Provides a list of thesauri available through these services, with detailed information about each thesaurus.
| Service URL |
https://apps.usgs.gov/thesaurus/thesaurus.php |
| Parameters |
| thcode |
Thesaurus identifier (numeric). Optional; if neither this nor a thesaurus name is specified, information about all thesauri are reported. |
| thname |
Thesaurus name. The name is matched, without case sensitivity, with the preferred or alternative names of thesauri known to the service database. Optional; if neither this nor a thesaurus identifier code is specified, information about all thesauri are reported. |
|
| Output |
An object containing information about the thesaurus, if thcode was specified, otherwise an array of such objects, one per thesaurus.
| thcode | Thesaurus identifier |
| name | Name of the thesaurus |
| scope | A short statement indicating the type of information the thesaurus is intended to express, or expected uses of the thesaurus |
| creator | Organization or person responsible for creating the thesaurus |
| rights | Copyright statement, if any, or other text indicating legal restrictions on access or use |
| edition | Thesaurus edition or version number |
| date | Date thesaurus was last modified |
| codetype | Type of term identifiers (alpha indicates characters, number indicates numbers) |
| prefix | Short identifier for this thesaurus for use in RDF |
| uri | Complete identifier for this thesaurus to be used in RDF |
| tblname | Database table containing preferred terms and scope notes |
| nonpref | Database table containing non-preferred terms |
| relterm | Database table containing non-hierarchical term relationships |
| root_code | Unique identifier of the root node of the thesaurus |
| category |
Array of term objects specifying the term or terms, each element containing:
| code |
Unique identifier for this term |
| name |
Descriptor text for this term |
| parent |
Unique identifier of the parent of this term |
| scope |
Scope note for the term |
|
| altlabel |
Alternative names for this thesaurus; these may match texts given in a CSDGM geospatial metadata field like *_Keyword_Thesaurus |
| contact |
Email address of the point of contact for this thesaurus; if only a name is given, assume @usgs.gov |
|
Example
(line breaks and extra spaces added here for clarity)
https://apps.usgs.gov/thesaurus/thesaurus.php?thcode=2