Skip to content

Algorithm for Set Operations #1813

Closed Answered by jorisvandenbossche
EricZimmermann asked this question in Q&A
Discussion options

You must be logged in to vote

The actual algorithm is actually implemented in the GEOS library, as shapely's function is essentially a small python binding to GEOSSymDifference_r.

I don't know if there is a single place to point to where this is implemented, but the C API function we call is essentially defined here: https://github.com/libgeos/geos/blob/4c3bd72ba73e9688b0712d9878d073559c84e4d6/src/geom/Geometry.cpp#L570

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by EricZimmermann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mwtoews
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants