Home

Awesome

USFWS NWI Extension Specification

This document explains the U.S. Fish & Wildlife Service (FWS) National Wetlands Inventory (NWI) Extension to the SpatioTemporal Asset Catalog (STAC) specification. See https://www.fws.gov/program/national-wetlands-inventory for details.

Fields

The fields in the table below can be used in these parts of STAC documents:

Field NameTypeDescription
fws_nwi:statestringREQUIRED. The applicable US state (long name). One of the allowed values below.
fws_nwi:state_codestringREQUIRED. The applicable US state (short code). One of the allowed values below.
fws_nwi:content[string]REQUIRED. The content published in this Item. A set of the following allowed values: historic_wetlands, riparian, wetlands

Allowed Values

fws_nwi:state_codefws_nwi:state
ALAlabama
AKAlaska
AZArizona
ARArkansas
CACalifornia
COColorado
CTConnecticut
DEDelaware
DCDistrict of Columbia
FLFlorida
GAGeorgia
HIHawaii
IDIdaho
ILIllinois
INIndiana
IAIowa
KSKansas
KYKentucky
LALouisiana
MEMaine
MDMaryland
MAMassachusetts
MIMichigan
MNMinnesota
MSMississippi
MOMissouri
MTMontana
NENebraska
NVNevada
NHNew Hampshire
NJNew Jersey
NMNew Mexico
NYNew York
NCNorth Carolina
NDNorth Dakota
OHOhio
OKOklahoma
OROregon
PacTrustPacific Trust Islands
PAPennsylvania
PRVIPuerto Rico and Virgin Islands
RIRhode Island
SCSouth Carolina
SDSouth Dakota
TNTennessee
TXTexas
UTUtah
VTVermont
VAVirginia
WAWashington
WVWest Virginia
WIWisconsin
WYWyoming

Contributing

All contributions are subject to the STAC Specification Code of Conduct. For contributions, please follow the STAC specification contributing guide Instructions for running tests are copied here for convenience.

Running tests

The same checks that run as checks on PR's are part of the repository and can be run locally to verify that changes are valid. To run tests locally, you'll need npm, which is a standard part of any node.js installation.

First you'll need to install everything with npm once. Just navigate to the root of this repository and on your command line run:

npm install

Then to check markdown formatting and test the examples against the JSON schema, you can run:

npm test

This will spit out the same texts that you see online, and you can then go and fix your markdown or examples.

If the tests reveal formatting problems with the examples, you can fix them with:

npm run format-examples