Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bradbrowne/93281052364f9d9e8283 to your computer and use it in GitHub Desktop.
Save bradbrowne/93281052364f9d9e8283 to your computer and use it in GitHub Desktop.
Create attribute index on Esri Shapefile using ogrinfo
ogrinfo -sql "DROP INDEX ON PROPERTY_VIEW" "PROPERTY_VIEW.shp"
ogrinfo -sql "CREATE INDEX ON PROPERTY_VIEW USING PFI" "PROPERTY_VIEW.shp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment