mapbox/tilemill — Issue #1260: Mysterious data corruption with unzipped shapefiles
Author: springmeyer
Created: 2012-01-31 20:29:26+00:00
State: open

We've now had at least two known occurrences of shapefile parts having bogus binary data after downloading/unzipping.

1) The .prj text that was corrupted with binary data as seen in #847:

The .prj looks like:

```
����Mac OS X ���� ���2���¾������ð��������������������������������������ATTRQ¯Ò���ð���˜���X������������������˜���X��com.apple.quarantine�q/0000;4e9fa5ad;Google\x20Chrome;F3155BA5-E1BC-4797-8C49-30AE51D7B219|com.google.Chrome�EPSG","9122"]],AUTHORITY["EPSG","4326"]]
```

2) The shoreline_300.shp with a bogus secion as seen in https://github.com/mapnik/mapnik/issues/1056.

In this case the .zip was valid, as were all the other shapefile parts, but shoreline_300.shp differed from a known/working version.