From 0e36705046a206e990cad21d9b7891ddeaf47e2d Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 21 May 2025 17:51:48 +0200 Subject: MVT: Lower max-zoom to 7 (8m/px) from 9 (2m/px). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The webmap currently doesn't go beyond zoom level 7 (8m/px) so it makes little sense to create tiles for higher zoom levels. It speeds things up and saves CPU resources and disk space, too. For group ‘ren’ on the desktop (GPKG destination dataset), before (max-zoom=9): INFO: Exported 4488 features to 4 MVT layers in 00:06:02.926 INFO: Tile count: 75972 [min=33 B, max=128.16 kiB, sum=15.10 MiB, avg=208 B] vs. after (max-zoom=7): INFO: Exported 4488 features to 4 MVT layers in 00:00:25.548 INFO: Tile count: 5031 [min=35 B, max=128.16 kiB, sum=4.80 MiB, avg=0.98 kiB] --- config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.yml') diff --git a/config.yml b/config.yml index 11201bd..76e082a 100644 --- a/config.yml +++ b/config.yml @@ -26,7 +26,7 @@ extent: # https://gdal.org/en/latest/drivers/vector/mvt.html vector-tiles: min-zoom: 0 # res. 1024m/px - max-zoom: 9 # res. 2m/px + max-zoom: 7 # res. 8m/px max-size: 4194304 max-features: 262144 tiling-scheme: -- cgit v1.2.3