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

Python Bindings for Pairwise Linestring Distance #521

Merged

Conversation

isVoid
Copy link
Contributor

@isVoid isVoid commented May 6, 2022

This PR introduces python bindings for pairwise linestring distance. Depends on #510 and has lots of commits from that PR. Should reduce once #510 merges.

isVoid and others added 30 commits March 31, 2022 15:16
This reverts commit 2006ac1.
@github-actions github-actions bot removed the libcuspatial Relates to the cuSpatial C++ library label May 12, 2022
@isVoid isVoid added feature request New feature or request non-breaking Non-breaking change labels May 12, 2022
@isVoid
Copy link
Contributor Author

isVoid commented May 12, 2022

Note - the doc entry of this method will be added after #523 is merged.

Copy link
Member

@harrism harrism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some suggestions on expanding the documentation and making it match the C++ API, since the behavior should be the same.

python/cuspatial/cuspatial/core/gis.py Outdated Show resolved Hide resolved
python/cuspatial/cuspatial/core/gis.py Outdated Show resolved Hide resolved
python/cuspatial/cuspatial/core/gis.py Show resolved Hide resolved
@harrism harrism requested review from thomcom and removed request for zhangjianting May 26, 2022 04:22
@github-actions github-actions bot added the libcuspatial Relates to the cuSpatial C++ library label May 26, 2022
@isVoid isVoid requested a review from harrism May 27, 2022 00:58
Copy link
Contributor

@thomcom thomcom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg2m

@vyasr
Copy link
Contributor

vyasr commented May 28, 2022

@isVoid I'm pretty sure the test failures here came from CI merging in my scikit-build changes from branch-22.06 down into your branch and then attempting to compile the resulting files. Since the new builds require adding the Python files to the CMakeLists.txt, your new module wasn't getting compiled. I merged in branch-22.06 and added the new file, which hopefully should fix the issue.

@harrism
Copy link
Member

harrism commented May 30, 2022

RuntimeError: cuSpatial failure at: /workspace/.conda-bld/work/cpp/src/spatial/linestring_distance.cu:292: Mismatch number of linestrings in the linestring pair array.

@harrism
Copy link
Member

harrism commented Jun 1, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit da1cb97 into rapidsai:branch-22.06 Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmake Related to CMake code or build configuration feature request New feature or request libcuspatial Relates to the cuSpatial C++ library non-breaking Non-breaking change Python Related to Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants