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

You can't iterate over a layer's features more than once without calling layer.ResetReading #161

Open
33d opened this issue Oct 30, 2015 · 1 comment

Comments

@33d
Copy link

33d commented Oct 30, 2015

I just found this out the hard way. Maybe this can be noted in the "Iterate over features" section? (Great guide by the way, it's really helpful for getting started.)

@ranchodeluxe
Copy link
Contributor

@33d,
Thanks for the comment. Go ahead and put a note in the feature iteration section and put in a pull request.

You might want to also add it to this section since it's relevant:
http://pcjericks.github.io/py-gdalogr-cookbook/gotchas.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants