8000 Handle shapefile headers which specify incorrect shp file length · Issue #147 · GeospatialPython/pyshp · GitHub
[go: up one dir, main page]

Skip to content

Handle shapefile headers which specify incorrect shp file length #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
karimbahgat opened this issue Jun 6, 2018 · 1 comment
Closed

Comments

@karimbahgat
Copy link
Collaborator

Some shapefiles may be incorrectly written, so that the .shp file header writes the file length incorrectly. Rather than being strict on this, would be good to check for and flexibly handle such files. 0f624b3 attempted to do this but needs to be stripped of print statements, and probably accompanied by tests that make sure this works on normal as well as corrupt files.

@karimbahgat
Copy link
Collaborator Author

More robust handling of incorrect/corrupted shapefiles in v2.3.0. See especially #235.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0