Skip to content

Instantly share code, notes, and snippets.

@paregorios
Created September 12, 2016 14:52
Show Gist options
  • Save paregorios/1ff7f78a4d8c2cdf32d2a45ce91350b8 to your computer and use it in GitHub Desktop.
Save paregorios/1ff7f78a4d8c2cdf32d2a45ce91350b8 to your computer and use it in GitHub Desktop.
import fiona
with fiona.open(countries_fn, 'r') as f:
countries = list(f)
driver = f.driver
crs = f.crs
schema = f.schema
print(
'Read {} country geometries from "{}". '
'driver: {}, crs: {}, schema: {}'.format(
len(countries), countries_fn, driver, crs, schema))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment