j40-cejst-2/infrastructure/functions/detect-changes-for-worker/events/tippecanoe.json

24 lines
854 B
JSON
Raw Normal View History

{
"action": "tippecanoe",
"pre": [
"curl https://gp-sit-tileservice-tile-cache.s3.amazonaws.com/usds/usa.csv -o /tmp/usa.csv",
"curl https://gp-sit-tileservice-tile-cache.s3.amazonaws.com/usds/tristate.mbtiles -o /tmp/tristate.mbtiles"
],
"post": [
"aws s3 cp /tmp/tl_2010_bg_with_data.mbtiles s3://j40-sit-justice40-data-harvester-data/output/tl_2010_bg_with_data.mbtiles",
"tile-join --force -pk -pC -n tl_2010_bg -e /tmp/tiles /tmp/tl_2010_bg_with_data.mbtiles",
"aws s3 sync /tmp/tiles s3://j40-sit-justice40-data-harvester-data/output/tiles"
],
"command": [
"tile-join",
"--force",
"-pk",
"-n",
"tl_2010_bg",
"-o",
"/tmp/tl_2010_bg_with_data.mbtiles",
"-c",
"/tmp/usa.csv",
"/tmp/tristate.mbtiles"
]
}