GeospatialPython / pyshp

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

Added uppercase file extension compatibility for zip files #250

Closed bva-bme closed 7 months ago

bva-bme commented 1 year ago

Some programs (e.g., PTV VISUM) export shapefiles in .zip with file extensions being .SHP, .SHX, .DBX. The main branch of this program seeks file extension .shp (lowercase) in the zip file, thus cannot find shapefiles with uppercase extensions. I have made minor modifications to the code to resolve this issue.