# USGS National Structures Dataset (NSD): Schools, Hospitals, Fire and Police Stations, Buildings, The National Map

## Facts

- Provider: U.S. Geological Survey, National Geospatial Program (The National Map)
- License: Public Domain (US Government work) (https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits)
- Format: JPEG (in sampled files)
- Stored at: Amazon S3, s3://prd-tnm/StagedProducts/Struct (us-west-2)
- Access: public, readable without an account
- Category: Earth Observation & Geospatial
- Source: https://prd-tnm.s3.amazonaws.com/StagedProducts/Collections/USGS_Structures_Collection.xml
- Page: https://scigantic.com/archive/8a4fe2d3-4728-5abc-80fd-306f28907ffb
- Keywords: Earth Observation & Geospatial, JPEG, AWS Open Data

## About

Point locations, names, functions and core attributes of selected manmade facilities across all U.S. states and territories, collected mainly for disaster planning, emergency response and homeland security. Structure types include schools (elementary, middle, high), colleges and universities, technical and trade schools, ambulance services, fire and EMS stations, law enforcement, prisons and correctional facilities, post offices, hospitals and medical centers, cabins, campgrounds, cemeteries, historic sites, picnic areas, trailheads, visitor centers, ranger stations, court houses, city and town halls, state capitols and the US Capitol. The package also includes a feature class of preliminary building footprint polygons from FEMA USA Structures. Staged as one zip per state or territory under GPKG/ (GeoPackage, e.g. STRUCT_Alabama_State_GPKG.zip, about 0.5 GB for Alabama with building polygons), GDB/ (File Geodatabase) and Shape/ (Shapefile), plus National/ builds, each with an FGDC XML record. Refreshed about monthly. Read with geopandas, GDAL/OGR or QGIS. Released by the U.S. Geological Survey as U.S. Public Domain; cite USGS, The National Map.

## Load the data

```python
import boto3
from botocore import UNSIGNED
from botocore.client import Config
s3 = boto3.client('s3', region_name='us-west-2', config=Config(signature_version=UNSIGNED))
s3.list_objects_v2(Bucket='prd-tnm', Prefix='StagedProducts/Struct/', Delimiter='/')
```

Lists the files with anonymous access. Runs on any machine, with no cloud account.

## Data structure

File types in sampled files: JPEG

Example file: `StagedProducts/Struct/GDB/`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/8a4fe2d3-4728-5abc-80fd-306f28907ffb
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/8a4fe2d3-4728-5abc-80fd-306f28907ffb
- Over MCP: `get_schema_card` with id `8a4fe2d3-4728-5abc-80fd-306f28907ffb` at https://api.scigantic.com/mcp

## Related topics

- [Earth Observation & Geospatial datasets](https://scigantic.com/topics/earth-observation-and-geospatial)
- [JPEG datasets](https://scigantic.com/topics/jpeg)
