According to the Fiona documentation "Fiona lets you read and write zipped Shapefiles."

But I can't find any examples of writing (with Windows file paths). Trying this...

with fiona.open('output_shp.shp', 'w', 'ESRI Shapefile', schema, vfs='zip://output.zip') as o:
    # Write

DriverError: /vsizip/output.zip/output.shp is not a directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.