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:
I hereby claim:
To claim this, I am signing this object:
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 |