mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
Disable file size limits on tiles (#2031)
* Disable file size limits on tiles * Remove print debugs I know.
This commit is contained in:
parent
d17f6129dc
commit
dbea3490f2
1 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@ def generate_tiles(data_path: Path, generate_tribal_layer: bool) -> None:
|
||||||
logger.info("Generating USA High mbtiles file")
|
logger.info("Generating USA High mbtiles file")
|
||||||
cmd = "tippecanoe "
|
cmd = "tippecanoe "
|
||||||
cmd += f"--minimum-zoom={USA_HIGH_MIN_ZOOM} --maximum-zoom={USA_HIGH_MAX_ZOOM} --layer=blocks "
|
cmd += f"--minimum-zoom={USA_HIGH_MIN_ZOOM} --maximum-zoom={USA_HIGH_MAX_ZOOM} --layer=blocks "
|
||||||
|
cmd += "--no-feature-limit --no-tile-size-limit "
|
||||||
cmd += f"--output={high_tile_path}/usa_high.mbtiles "
|
cmd += f"--output={high_tile_path}/usa_high.mbtiles "
|
||||||
cmd += str(score_geojson_dir / "usa-high.json")
|
cmd += str(score_geojson_dir / "usa-high.json")
|
||||||
call(cmd, shell=True)
|
call(cmd, shell=True)
|
||||||
|
@ -50,7 +51,7 @@ def generate_tiles(data_path: Path, generate_tribal_layer: bool) -> None:
|
||||||
logger.info("Generating USA High mvt folders and files")
|
logger.info("Generating USA High mvt folders and files")
|
||||||
cmd = "tippecanoe "
|
cmd = "tippecanoe "
|
||||||
cmd += f"--minimum-zoom={USA_HIGH_MIN_ZOOM} --maximum-zoom={USA_HIGH_MAX_ZOOM} --no-tile-compression "
|
cmd += f"--minimum-zoom={USA_HIGH_MIN_ZOOM} --maximum-zoom={USA_HIGH_MAX_ZOOM} --no-tile-compression "
|
||||||
cmd += "--drop-densest-as-needed "
|
cmd += "--no-feature-limit --no-tile-size-limit "
|
||||||
cmd += f"--output-to-directory={high_tile_path} --layer=blocks "
|
cmd += f"--output-to-directory={high_tile_path} --layer=blocks "
|
||||||
cmd += str(score_geojson_dir / "usa-high.json")
|
cmd += str(score_geojson_dir / "usa-high.json")
|
||||||
call(cmd, shell=True)
|
call(cmd, shell=True)
|
||||||
|
|
Loading…
Add table
Reference in a new issue