ryanwold.net

A civic-minded citizen seeking the singularity

Back to Entries

Jurisdictional - Sourcing Data

draft
Date: 2014-10-10

Jurisdictional shapefiles are publicly available on the Census.gov website. Clicking into 2014, I found an FTP link with several folders to peruse.

alt

After finding and downloading the .shp files, I uploaded them to Amazon S3. From S3, the .shapefiles can be imported into Geoserver as a "Store".

alt

Similar to Stores, Geoserver allows a Store to be published as a Layer. Publishing is important so the shapefiles can be displayed on a map and queried to produce API results as XML or JSON.

alt

Here is a small sample of Geoserver JSON response.

alt

Here is a full sample of Geoserver JSON response with coordinates nodes collapsed.

alt

By Ryan Wold · © 2014–2026 Ryan Wold

Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.

Tip: $afomi on HandCash · afomi@handcash.io