From a3cbc914b2403c01788e6b08b61ce9f9da82df1c Mon Sep 17 00:00:00 2001 From: "@baptiste33" Date: Mon, 2 Oct 2023 14:21:01 +0200 Subject: [PATCH] docs: add more details on zoom customization when importing geotiff assets --- src/kili/entrypoints/mutations/asset/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/kili/entrypoints/mutations/asset/__init__.py b/src/kili/entrypoints/mutations/asset/__init__.py index 774236f5c..615ccfb24 100644 --- a/src/kili/entrypoints/mutations/asset/__init__.py +++ b/src/kili/entrypoints/mutations/asset/__init__.py @@ -88,6 +88,8 @@ def append_many_to_dataset( Example for one asset: `json_metadata_array = [{'imageUrl': '','text': '','url': ''}]`. - For VIDEO projects (and not VIDEO_LEGACY), you can specify a value with key 'processingParameters' to specify the sampling rate (default: 30). Example for one asset: `json_metadata_array = [{'processingParameters': {'framesPlayedPerSecond': 10}}]`. + - For Image projects, if you work with geotiff, you can specify a value with key 'processingParameters' to specify the minimum and maximum zoom level. + Example for one asset: `json_metadata_array = [{'processingParameters': {'minZoom': 17, 'maxZoom': 19}}]`. disable_tqdm: If `True`, the progress bar will be disabled wait_until_availability: If `True`, the function will return once the assets are fully imported in Kili. If `False`, the function will return faster but the assets might not be fully processed by the server.