mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 17:44:20 -08:00
parent
09b3ba6715
commit
d259d97ba9
2 changed files with 2 additions and 7 deletions
5
.github/workflows/data-checks.yml
vendored
5
.github/workflows/data-checks.yml
vendored
|
@ -1,12 +1,8 @@
|
|||
# This runs tox in the two directories under data
|
||||
name: Data Checks
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches: [ main ] # runs on any PR against main
|
||||
|
||||
|
||||
jobs:
|
||||
data-pipeline:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -14,7 +10,6 @@ jobs:
|
|||
matrix:
|
||||
# checks all of the versions allowed in pyproject.toml
|
||||
python-version: [3.7, 3.8, 3.9]
|
||||
|
||||
steps:
|
||||
# installs python
|
||||
# one execution of the tests per version listed above
|
||||
|
|
|
@ -38,7 +38,7 @@ def generate_tiles(data_path: Path) -> None:
|
|||
logger.info("Generating USA High mvt folders and files")
|
||||
cmd = "tippecanoe "
|
||||
cmd += f"--minimum-zoom={USA_HIGH_MIN_ZOOM} --maximum-zoom={USA_HIGH_MAX_ZOOM} --no-tile-compression "
|
||||
cmd += f"--output-to-directory={high_tile_path} "
|
||||
cmd += f"--output-to-directory={high_tile_path} --layer=blocks "
|
||||
cmd += str(score_geojson_dir / "usa-high.json")
|
||||
call(cmd, shell=True)
|
||||
|
||||
|
@ -54,6 +54,6 @@ def generate_tiles(data_path: Path) -> None:
|
|||
logger.info("Generating USA Low mvt folders and files")
|
||||
cmd = "tippecanoe "
|
||||
cmd += f"--minimum-zoom={USA_LOW_MIN_ZOOM} --maximum-zoom={USA_LOW_MAX_ZOOM} --no-tile-compression "
|
||||
cmd += f"--output-to-directory={low_tile_path} "
|
||||
cmd += f"--output-to-directory={low_tile_path} --layer=blocks "
|
||||
cmd += str(score_geojson_dir / "usa-low.json")
|
||||
call(cmd, shell=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue