Closed maxfreu closed 1 year ago
I've just made the requested changes except for one :)
I just removed the line superseding #381, as it's just a minor change anyway. Now it can be merged regardless of the changes in GDAL itself.
Oh I just saw that the GDAL PR had already been merged and that you closed #381. I'll put the line back tomorrow, then this can be merged.
Ok, done - sorry for the forth and back!
Hi! I have factored out the layer copying from writelayers into its own function. So basically I changed (pseudocode):
to
That should now allow to copy data from and to arbitrary datasets, whether on disk or not. You can also give the layer indices you want to be copied. I added a tiny test for that. Furthermore I adjusted the docstrings for nicer rendering in the REPL. I'm not sure with the naming
copylayers
, is it ok? What do you think in general? Lastly, this supersedes https://github.com/yeesian/ArchGDAL.jl/pull/381, but I can take that part out if you want to merge this before the change to GDAL.