Create a gist now

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@flatpolar

Excellent! Thanks! Just a small correction: At the end of In [19], the line should read
mpoly = shapely.ops.transform(mm, subpoly)
In the current state, the code crashes when iterating over multipolygons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment