[BUG]: pairwise_linestring_intersection
returns a degenerate LineString
#1091
Labels
pairwise_linestring_intersection
returns a degenerate LineString
#1091
Version
23.06
On which installation method(s) does this occur?
Rapids-Compose
Describe the issue
Instead of returning a point at the point of intersection,
pairwise_linestring_intersection
returns a degenerate linestring when the LineString is in the shape of a closed polygon:Minimum reproducible example
# PLI Degenerate Linestring line = cuspatial.GeoSeries([LineString([(-1, 0), (0, 0)])]) square = cuspatial.GeoSeries([LineString([(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)])]) pli = cuspatial.core.binops.intersection.pairwise_linestring_intersection( line, square ) pli
The text was updated successfully, but these errors were encountered: