The new boundaries table is populated using the populate_boundaries rake task. That rake task contains a hash of boundary types to files containing those types. Adding new boundaries is as simple as adding types and files to this hash.
Once the files are created upload them the public S3 data bucket, update the buildspec.yml to download the files, and make sure to update the README. Make sure to include an updated dump of the boundaries table in in the PR and update the README.
Requirements
Linux Commands:
$ sudo apt-get install git make build-essential g++ libsqlite3-dev \
zlib1g-dev gdal-bin jq
Tileset Creation Steps:
$ curl -L -O https://www2.census.gov/geo/tiger/TIGER2010/TRACT/2000/tl_2017_41_tract.zip
$ unzip tl_2017_41_tract.zip
$ ogr2ogr -f GeoJSON oregon_41_tracts.shp.json tl_2017_41_tract.shp
$ tippecanoe -zg -o oregon_41_tracts.mbtiles -l oregon_census oregon_41_tracts.shp.json
Known Issues when Installing
Understanding US Census definitions of a Geography and FIPS CODES
Boundaries
$ ogr2ogr -f GeoJSON tl_2018_us_county.shp.json tl_2018_us_county.shp
$ jq -r '.features[] | tostring' tl_2018_us_county.shp.json > tl_2018_us_county.json
Useful script
#!/bin/bash
for i in $(seq -f "%02g" 1 56)
do
curl -L -O https://www2.census.gov/geo/tiger/TIGER2018/TRACT/tl_2018_${i}_tract.zip