diff --git a/.github/workflows/data-checks.yml b/.github/workflows/data-checks.yml index ee77aab2..7533a11d 100644 --- a/.github/workflows/data-checks.yml +++ b/.github/workflows/data-checks.yml @@ -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 diff --git a/data/data-pipeline/data_pipeline/tile/generate.py b/data/data-pipeline/data_pipeline/tile/generate.py index 02dda601..17c18922 100644 --- a/data/data-pipeline/data_pipeline/tile/generate.py +++ b/data/data-pipeline/data_pipeline/tile/generate.py @@ -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)