Skip to content
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

Shapefile Reader throws an exception on invalid geometry. #60

Open
sobomp3 opened this issue Oct 17, 2024 · 0 comments
Open

Shapefile Reader throws an exception on invalid geometry. #60

sobomp3 opened this issue Oct 17, 2024 · 0 comments

Comments

@sobomp3
Copy link

sobomp3 commented Oct 17, 2024

I have upgraded to the new NetTopologySuite.IO.Esri library from the older/deprecated NetTopologySuite.IO.ShapeFile. The old version would allow me to read a Shapefile and check each feature for "Geometry.IsValid" before doing anything with it (alerting the user to the issue with the feature's name etc). The new library immediately throws an exception without the ability to alert the user or simply skip said invalid feature.

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

No branches or pull requests

1 participant