@@ -350,6 +350,7 @@ async def search_to(
350350 filter : str | dict [str , Any ] | None = None ,
351351 query : dict [str , Any ] | None = None ,
352352 format : str | None = None ,
353+ parquet_compression : str | None = None ,
353354 store : AnyObjectStore | None = None ,
354355 use_duckdb : bool | None = None ,
355356) -> int :
@@ -389,6 +390,10 @@ async def search_to(
389390 It is recommended to use filter instead, if possible.
390391 format: The output format. If none, will be inferred from
391392 the outfile extension, and if that fails will fall back to compact JSON.
393+ parquet_compression: If writing stac-geoparquet, sets the compression
394+ algorithm.
395+ https://docs.rs/parquet/latest/parquet/basic/enum.Compression.html
396+ is a list of what's available.
392397 store: An optional [ObjectStore][]
393398 use_duckdb: Query with DuckDB. If None and the href has a
394399 'parquet' or 'geoparquet' extension, will be set to True. Defaults
@@ -428,6 +433,7 @@ async def write(
428433 value : dict [str , Any ] | Sequence [dict [str , Any ]],
429434 * ,
430435 format : str | None = None ,
436+ parquet_compression : str | None = None ,
431437 store : AnyObjectStore | None = None ,
432438) -> dict [str , str ] | None :
433439 """
@@ -439,6 +445,10 @@ async def write(
439445 can be a STAC dictionary or a list of items.
440446 format: The output format to write. If not provided, will be
441447 inferred from the href's extension.
448+ parquet_compression: If writing stac-geoparquet, sets the compression
449+ algorithm.
450+ https://docs.rs/parquet/latest/parquet/basic/enum.Compression.html
451+ is a list of what's available.
442452 store: The object store to use for writing.
443453
444454 Returns:
0 commit comments