-
Notifications
You must be signed in to change notification settings - Fork 4
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
Layer - add method to get parent dataset #23
Comments
I think it is useful. |
Thanks. I'll work it into a PR. |
shawnlaffan
added a commit
to shawnlaffan/Geo-GDAL-FFI
that referenced
this issue
Dec 8, 2018
This allows easier changes of behaviour later on, as well as accessing the values. Updates ajolma#23
shawnlaffan
added a commit
to shawnlaffan/Geo-GDAL-FFI
that referenced
this issue
Dec 8, 2018
Fixed by PR #24 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What do you think of adding a method to get at a layer's parent dataset?
It is not part of the GDAL API so far as I can see, but since Geo::GDAL::FFI stores a hash of parent refs it should be possible to access it and return the relevant item.
This would be convenient when passing layers between subs to use for selections, as one does not need to also pass the dataset ref.
Something like this might be sufficient:
The text was updated successfully, but these errors were encountered: