aboutsummaryrefslogtreecommitdiffstats
path: root/export_mvt.py
diff options
context:
space:
mode:
Diffstat (limited to 'export_mvt.py')
-rw-r--r--export_mvt.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/export_mvt.py b/export_mvt.py
index 8d90129..e50620f 100644
--- a/export_mvt.py
+++ b/export_mvt.py
@@ -450,7 +450,8 @@ def exportMVT(ds : gdal.Dataset,
drvname : str = 'MVT',
default_options : dict[str,Any]|None = None,
tile_extension : str = '.pbf',
- compress : bool = False) -> None:
+ compress : bool = False,
+ compress_metadata : bool = False) -> None:
"""Export some layers to MVT."""
drv = gdal.GetDriverByName(drvname)
if drv is None:
@@ -588,7 +589,7 @@ def exportMVT(ds : gdal.Dataset,
last_modified=last_modified,
last_updated=creation_time // 1000000),
dir_fd=dir_fd,
- compress=compress)
+ compress=compress_metadata)
try:
# atomically exchange paths