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

Boolean ops should be available between differing geometry types #1203

Open
urschrei opened this issue Jul 29, 2024 · 0 comments
Open

Boolean ops should be available between differing geometry types #1203

urschrei opened this issue Jul 29, 2024 · 0 comments

Comments

@urschrei
Copy link
Member

urschrei commented Jul 29, 2024

In keeping with JTS and GEOS, boolean ops should be available between all the "official" geometries. Currently, they're only available between two geometries of the same types, and this, coupled with the union op's output of MultiPolygon, is causing difficulties in extending the API, as fold and reduce operations are greatly complicated by this asymmetry.

If / when #1089 has merged, we should revisit the public API with a view to a) extending it and b) seeing whether it's possible to change the default output of union.

0-D (Point, MultiPoint) 1-D (Line, LineString, MultiLineString) 2-D (Polygon, MultiPolygon)
0-D
1-D partial (clip linestring w/ poly)
2-D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant