Skip to content

Commit

Permalink
Forward gdalinfo for RasterDataset (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixcremer authored Mar 3, 2024
1 parent 67bdb91 commit 8d57512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/raster/array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ for f in (
:metadata,
:metadatadomainlist,
:imread,
:gdalinfo,
)
eval(:(function $(f)(x::RasterDataset, args...; kwargs...)
return $(f)(x.ds, args...; kwargs...)
Expand Down
1 change: 1 addition & 0 deletions test/test_array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import ArchGDAL as AG
@test AG.ngcp(ds) == 0
@test AG.write(ds, tempname()) == nothing
@test AG.testcapability(ds, "ODsCCreateLayer") == false
@test startswith(AG.gdalinfo(ds), "Driver:")
end
@testset "DiskArray chunk interface" begin
b = AG.getband(ds, 1)
Expand Down

0 comments on commit 8d57512

Please sign in to comment.