Skip to content

Instantly share code, notes, and snippets.

View rohan's full-sized avatar

Rohan Ramchand rohan

View GitHub Profile
import fiona # pip3 install --user fiona
from shapely.geometry import shape # pip3 install --user shapely
with fiona.open("filename.shp") as f:
for shp in f:
s = shape(shp.get('geometry'))
# do something with s
# see https://shapely.readthedocs.io/en/latest/ for details on shape objects
@rohan
rohan / keybase.md
Created February 3, 2015 16:06
keybase verification

Keybase proof

I hereby claim:

  • I am rohan on github.
  • I am rsr (https://keybase.io/rsr) on keybase.
  • I have a public key whose fingerprint is 4E09 5E0B 15F8 5BD5 FF58 F02F 034B 5472 E201 63DE

To claim this, I am signing this object: