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

C++ pairwise linestring distance #510

Merged
merged 77 commits into from
May 12, 2022

Conversation

isVoid
Copy link
Contributor

@isVoid isVoid commented Mar 31, 2022

This PR contributes to #231 , computes distances between pairs of linestrings.

@github-actions github-actions bot added cmake Related to CMake code or build configuration libcuspatial Relates to the cuSpatial C++ library labels Mar 31, 2022
@isVoid isVoid self-assigned this Mar 31, 2022
@isVoid isVoid added 2 - In Progress Currenty a work in progress feature request New feature or request labels Mar 31, 2022
@harrism
Copy link
Member

harrism commented Apr 4, 2022

What is the difference between a linestring and a polyline?

@harrism harrism requested review from trxcllnt and cwharris May 3, 2022 23:08
Copy link
Contributor

@trxcllnt trxcllnt left a comment

Choose a reason for hiding this comment

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

Left a small suggestion to reduce the number of sqrt() calls.

@isVoid isVoid requested a review from trxcllnt May 5, 2022 17:45
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

I'm getting notifications on this thread after commenting, and I've been seeing more cuspatial activity lately so I figured I'd give this a brief review to get a sense for some of the code structure. Most of my comments are probably microoptimizations, nothing blocking.

cpp/src/spatial/linestring_distance.cu Outdated Show resolved Hide resolved
cpp/src/spatial/linestring_distance.cu Outdated Show resolved Hide resolved
cpp/src/spatial/linestring_distance.cu Outdated Show resolved Hide resolved
cpp/src/spatial/linestring_distance.cu Outdated Show resolved Hide resolved
cpp/src/spatial/linestring_distance.cu Outdated Show resolved Hide resolved
isVoid and others added 6 commits May 5, 2022 15:48
Co-authored-by: Vyas Ramasubramani <vyas.ramasubramani@gmail.com>
Co-authored-by: Vyas Ramasubramani <vyas.ramasubramani@gmail.com>
Co-authored-by: Vyas Ramasubramani <vyas.ramasubramani@gmail.com>
@harrism
Copy link
Member

harrism commented May 11, 2022

I think we just need @vyasr to approve.

@harrism harrism requested a review from vyasr May 11, 2022 22:59
@harrism
Copy link
Member

harrism commented May 12, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 03d55a2 into rapidsai:branch-22.06 May 12, 2022
rapids-bot bot pushed a commit that referenced this pull request Jun 1, 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.

Authors:
  - Michael Wang (https://github.com/isVoid)
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - H. Thomson Comer (https://github.com/thomcom)
  - Mark Harris (https://github.com/harrism)

URL: #521
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants