cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.69k stars 205 forks source link

Add basic shapefile (.shp, .shx) support #129

Closed gszy closed 1 year ago

gszy commented 1 year ago

The shapefile support includes recognition of the magic 0x0000270a and parsing the file length. The source code is based on the template file and file_bmp.c.

The shapefile format is described at Wikipedia, the article links to other resources, like the Technical Description.