Compressing files with Mac OS create a __MACOSX directory containing files metadata.
With these files, we have duplicate .shp files and the library raises an error here: https://github.com/jonas-p/go-shp/blob/master/zipreader.go#L43
To fix it, we need to filter this directory (and hidden directories)
Compressing files with Mac OS create a
__MACOSX
directory containing files metadata. With these files, we have duplicate.shp
files and the library raises an error here: https://github.com/jonas-p/go-shp/blob/master/zipreader.go#L43 To fix it, we need to filter this directory (and hidden directories)