Closed Atreyagaurav closed 9 months ago
I'm personally happy enough with the current version.
In that case, it's fine. Someone can always use a filter themselves.
I just thought having named methods might make it easier for the library users instead of having to navigate the metadata for specific driver capabilities.
If we add those, they can use filter
and return impl Iterator
.
r? @metasim
[X] I added an entry to
CHANGES.md
if knowledge of this change could be valuable to users.Fixes #512
I've done the simplest implementation for the first commit:
Which seems too simple, so I'm thinking of adding the ability to filter by metadata.
Which would be something like this:
If someone needs to filter by more complex conditions, they can use the filter directly in the iterator, but providing some options for vectors and rasters seems like a reasonable thing to do.
What do you think?