Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix README example #705

Merged
merged 1 commit into from Jan 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -54,7 +54,7 @@ file, change their geometry attributes, and write them to a new data file.
# collection's ``meta`` property and then modify them as
# desired.

meta = source.meta
meta = src.meta
meta['schema']['geometry'] = 'Point'

# Open an output file, using the same format driver and
Expand All @@ -64,7 +64,7 @@ file, change their geometry attributes, and write them to a new data file.
with fiona.open('test_write.shp', 'w', **meta) as dst:

# Process only the records intersecting a box.
for f in source.filter(bbox=(-107.0, 37.0, -105.0, 39.0)):
for f in src.filter(bbox=(-107.0, 37.0, -105.0, 39.0)):

# Get a point on the boundary of the record's
# geometry.
Expand Down