Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GitHub community:
I am proposing an addition to the gitignore for ESRI shapefiles. Shapefiles are a vector based geospatial file format commonly used in geographic information systems software. It is a common way to share spatial data, such as for download from government data portals.
However, shapefiles are only semi-open. Some of the parts are proprietary to ESRI. There are a number of fully open source formats that are much more appropriate for sharing spatial data on GitHub (like geoJSON and topoJSON), that promote data transparency. GitHub has recently added visualizations for geoJSON and topoJSON files.
Ignoring shapefiles in repos allows anyone that wishes to share spatial data on GitHub to ignore these closed files. Users that wish to convert shapefiles to open formats may want to have those shapefiles in the local repo directory, but not shared publicly, because they are not beneficial to GitHub. Adding a default .gitignore for shapefiles may also encourage new GIS users to realize the benefit of using an open standard instead.
Provide a link to the application or project’s homepage
ESRI is located in Redlands, CA, USA. They published a whitepaper on the format in 1998 . There is more specific documentation on ESRI's help site, and on Wikipedia.
Provide links to documentation
Sharing geospatial data on GitHub is a new. There is some discussion of this in the private github-for-government repo. There are posts on the web about the benefits of using geoJSON as opposed to shapefiles.
Explain why you’re making a change
I like the share open spatial data from around the web on GitHub. I also share data on behalf of my organization. Sharing data can require having many shapefiles in a directory for conversion. Rather than deleting them before committing, it would be to everyone's benefit if they were simply ignored.
Please consider the scope of your change
The scope of this change is fairly narrow. People don't have to use it, and if they do, they would want the files to be ignored. It only affects one type of file, not all GIS software.
Please only modify one template per pull request
Done. There are 4 commits because I realized the filename should be TitleCase.