geofileops.zip_geofile#
- geofileops.zip_geofile(input_path: str | PathLike[Any], output_path: str | PathLike[Any]) None#
Zip a geofile to a seek-optimized zip file.
For geofile types that consist of multiple files (eg. shapefiles), all relevant (existing) files are included in the zip.
Added in version 0.11.0.
- Parameters:
input_path (PathLike) – the geofile to zip.
output_path (PathLike) – the output zip file.