Skip to content

Instantly share code, notes, and snippets.

@chryss
Created March 7, 2016 01:14
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save chryss/0484d9e2a3ce4fc868c4 to your computer and use it in GitHub Desktop.
Save chryss/0484d9e2a3ce4fc868c4 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mgnolde
Copy link

mgnolde commented Nov 8, 2016

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.

@vic1309
Copy link

vic1309 commented Nov 9, 2020

Great notebook! Thank you, chryss!

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