-
Notifications
You must be signed in to change notification settings - Fork 560
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
segmentation fault from LineString.interpolate() #653
Comments
Hm, there is a exceptNull decorator but it does not seem to be used a lot. Might be perfect here? https://github.com/Toblerity/Shapely/blob/master/shapely/geometry/base.py#L160 https://github.com/Toblerity/Shapely/search?q=exceptnull&unscoped_q=exceptnull |
@kannes I think the |
@snorfalorpagus @kannes I can submit the PR. Would it simply be adding the |
+ a simple unit test |
OK. I will try to get it submitted today. Sent with GitHawk |
@snorfalorpagus, here you go:
Expected behavior and actual behavior.
Should throw a traceback or warning when attempting to interpolate a point along a
LINESTRING EMPTY
object, but instead crashes the kernel.Steps to reproduce the problem
.png
end of issue report)Operating system
Shapely version and provenance
conda
The text was updated successfully, but these errors were encountered: