-
Notifications
You must be signed in to change notification settings - Fork 203
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
Selecting a subset of fields while reading (for speed up) #429
Comments
This could be supported using the http://www.gdal.org/classOGRLayer.html#a5e0c3427f64249d1c35cefb487546b10 |
@oztalha @snorfalorpagus It looks like we have a choice between specifying fields to get or fields to skip. A big advantage of the latter seems to be that it can easily be a no-op when the field doesn't exist, whereas there's a decision to be made if I ask for field "foo" and it's not in the file: pass or raise an exception? I'm tentatively putting this down as a new feature for 1.8. |
I agree that blacklisting would be easier to implement and is actually the interface that OGR provides. I think I'd find whitelisting more useful. Can we do both? Or is that confusing? |
This is a feature request. Porting a SO question: Only read specific attribute columns of a shapefile with [...] Fiona to speed up reading from a shapefile.
The text was updated successfully, but these errors were encountered: