marxanweb / general

Issues tracker, installers, registry, test data and example developer apps for Marxan Web
European Union Public License 1.2
2 stars 2 forks source link

'Zipfile contains multiple shapefiles' raised for Mac Archive files #260

Closed andrewcottam closed 4 years ago

andrewcottam commented 4 years ago

Mac archive files contain a folder __MACOSX/ which contains a copy of the shapefiles so this error is always raised. This is an example of the filenames from here:

['pulayer.shx', 'MACOSX/', 'MACOSX/._pulayer.shx', 'pulayer.shp', 'MACOSX/._pulayer.shp', 'pulayer.dbf', '__MACOSX/._pulayer.dbf', 'pulayer.prj', 'MACOSX/._pulayer.prj']