-
Notifications
You must be signed in to change notification settings - Fork 154
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
Python API for point-linestring nearest points #681
Python API for point-linestring nearest points #681
Conversation
…_linestring_distance
This reverts commit a8ec5ff.
This reverts commit 2ed60eb.
…into feature/header_only_point_linestring_distance
Co-authored-by: Mark Harris <mharris@nvidia.com>
…b.com:isVoid/cuspatial into feature/header_only_point_linestring_distance
…into feature/header_only_point_linestring_distance
…into feature/python_point_linestring_nearest_points
…tring_nearest_points
check_dtype=False, | ||
check_index_type=False, | ||
check_less_precise=True, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have many failure cases in the python code that you aren't testing for here, like https://github.com/rapidsai/cuspatial/pull/681/files#diff-6e59ef32765771de56798ec48c85a59ba2bb65f4c10f6e06326a59ad82a793ffR42, also lines 56, 59, and 64.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added all failure case tests except line 64 because I don't think notimplementederror
should be tested (as it will be removed). Let me know if you insist.
Looks really good. I think you need some more failure cases in python and a noticed a couple of variable renamings. |
…into feature/python_point_linestring_nearest_points
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one doc clarification. Otherwise approve. Great work!
@gpucibot merge |
For some reason I thought I had it... welp, no rush then. |
Description
This PR adds python API for point-linestring nearest points. Closes #646 .
Depend on #658 #686
This PR also moves
Feature_Enum
from io module to geometa module to make sure the coding is consistent and reused throughout the codebase.Checklist