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

Add python API pairwise_point_polygon_distance #988

Merged
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
965b80a
initial
isVoid Feb 28, 2023
38af8e6
Merge branch 'branch-23.04' of https://github.com/rapidsai/cuspatial …
isVoid Mar 1, 2023
02f61fe
add pragma once for floating_point.cuh
isVoid Mar 7, 2023
7bd797f
add polygon_ref structure
isVoid Mar 7, 2023
0968c15
add multipolygon_ref class
isVoid Mar 7, 2023
a659eab
update multipolygon_range class
isVoid Mar 7, 2023
c274070
update multipoint_range class
isVoid Mar 7, 2023
12ffa53
update is_point_in_polygon usage with polygon_ref
isVoid Mar 7, 2023
7490333
update multilinestring_range
isVoid Mar 7, 2023
f665287
add point to polygon kernel
isVoid Mar 7, 2023
291f6e6
add segment deduction guide
isVoid Mar 7, 2023
efa6883
add owning object type to vector factories
isVoid Mar 7, 2023
23146ef
add tests
isVoid Mar 7, 2023
ead160a
add helper files
isVoid Mar 7, 2023
09bd35f
add more tests
isVoid Mar 8, 2023
92760d1
bug fixes
isVoid Mar 8, 2023
8acb5dc
cleanups
isVoid Mar 8, 2023
a2b94fe
fix tests
isVoid Mar 8, 2023
46a67fe
optimize single point range input
isVoid Mar 8, 2023
b725b52
docs, type checks in range ctor
isVoid Mar 8, 2023
cb5706a
Merge branch 'branch-23.04' into feature/polygon_distances
isVoid Mar 8, 2023
ab59e7d
use range based for loop in is_point_in_polygon
isVoid Mar 8, 2023
ddcd5d2
initial column API
isVoid Mar 9, 2023
b136c0b
Apply suggestions from code review
isVoid Mar 9, 2023
744f32f
add docs
isVoid Mar 9, 2023
bb6c637
style
isVoid Mar 9, 2023
756650b
Merge branch 'branch-23.04' of https://github.com/rapidsai/cuspatial …
isVoid Mar 9, 2023
ec23d6e
add column API tests, augment column_factories
isVoid Mar 10, 2023
8319e7c
fix bug in PiP tests
isVoid Mar 10, 2023
85fab66
Merge branch 'feature/polygon_distances' into feature/point_polygon_d…
isVoid Mar 10, 2023
43cc02a
add validation checks
isVoid Mar 10, 2023
2004b3a
add cython API
isVoid Mar 10, 2023
3d5964b
add python API and tests
isVoid Mar 10, 2023
baed5a3
add user guide
isVoid Mar 10, 2023
386ad1f
Merge branch 'branch-23.04' of https://github.com/rapidsai/cuspatial …
isVoid Mar 21, 2023
402a8e3
remove unused code pieces and files
isVoid Mar 21, 2023
67c931b
Merge branch 'branch-23.04' into feature/point_polygon_distance_colum…
isVoid Mar 21, 2023
3f1da02
address docs review
isVoid Mar 21, 2023
4b33176
Merge branch 'feature/point_polygon_distance_column_api' of github.co…
isVoid Mar 21, 2023
961f6ce
Merge branch 'branch-23.04' into feature/point_polygon_distance_colum…
isVoid Mar 21, 2023
50b6c6b
style
isVoid Mar 21, 2023
375fae1
Merge branch 'feature/point_polygon_distance_column_api' of github.co…
isVoid Mar 21, 2023
079f45c
Merge branch 'feature/point_polygon_distance_column_api' into feature…
isVoid Mar 21, 2023
c965734
Merge branch 'branch-23.04' of https://github.com/rapidsai/cuspatial …
isVoid Mar 21, 2023
fcc438b
revert user_guide
isVoid Mar 22, 2023
77cfd5a
add api doc
isVoid Mar 22, 2023
c22cb46
update docs
isVoid Mar 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update docs
  • Loading branch information
isVoid committed Mar 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c22cb464fe0f736a636603df39606e7291d99522
2 changes: 1 addition & 1 deletion python/cuspatial/cuspatial/core/spatial/distance.py
Original file line number Diff line number Diff line change
@@ -388,7 +388,7 @@ def pairwise_point_linestring_distance(
def pairwise_point_polygon_distance(points: GeoSeries, polygons: GeoSeries):
"""Compute distance between pairs of (multi)points and (multi)polygons

The distance between a (multi)point and a (multi)polygons
The distance between a (multi)point and a (multi)polygon
is defined as the shortest distance between every point in the
multipoint and every edge of the (multi)polygon. If the multipoint and
multipolygon intersects, the distance is 0.