diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-05-21 17:51:48 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-05-21 18:57:54 +0200 |
commit | 0e36705046a206e990cad21d9b7891ddeaf47e2d (patch) | |
tree | 73c942ecac2b906a3ea1e78f01aaf3b6ca30a23b | |
parent | d1416171c63f58a764859fb3694ef5cc17dae52d (diff) |
MVT: Lower max-zoom to 7 (8m/px) from 9 (2m/px).
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]
-rw-r--r-- | config.yml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |