Skip to content

Instantly share code, notes, and snippets.

@esisa
Created October 9, 2012 11:43
Show Gist options
  • Save esisa/3858228 to your computer and use it in GitHub Desktop.
Save esisa/3858228 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
from fiona import collection
#c = collection("test.shp", "r")
#print "Projeksjon: " , c.crs
#print "Bounding box: " , c.bounds
#rec = c.next()
#print rec['properties']['AREAL']
#c.closed
with collection("test.shp", "r") as source:
for rec in source:
print rec['properties']['AREAL']
source.closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment