This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on solution given here: http://geospatialpython.com/2011/11/generating-shapefile-shx-files.html | |
# Depends on pyshp | |
# Build a new shx index file | |
import fnmatch | |
import os | |
import shapefile | |
# List all the shapefiles | |
def find(pattern, path): |