GeospatialPython / pyshp

This library reads and writes ESRI Shapefiles in pure Python.
MIT License
1.1k stars 259 forks source link

fixed crash when saving empty shapefile of Z geometry type. It crashed… #181

Closed mcuprjak closed 3 years ago

mcuprjak commented 5 years ago

… because zbox and mbox were undefined.

karimbahgat commented 3 years ago

Thanks for this! I somehow came across the same error independently, and fixed it using a roughly similar approach. Closing this PR, but adding the credit to you for putting in the work.