Skip to content

Commit 8d57512

Browse files
authored
Forward gdalinfo for RasterDataset (#415)
1 parent 67bdb91 commit 8d57512

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/raster/array.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ for f in (
6060
:metadata,
6161
:metadatadomainlist,
6262
:imread,
63+
:gdalinfo,
6364
)
6465
eval(:(function $(f)(x::RasterDataset, args...; kwargs...)
6566
return $(f)(x.ds, args...; kwargs...)

test/test_array.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import ArchGDAL as AG
2323
@test AG.ngcp(ds) == 0
2424
@test AG.write(ds, tempname()) == nothing
2525
@test AG.testcapability(ds, "ODsCCreateLayer") == false
26+
@test startswith(AG.gdalinfo(ds), "Driver:")
2627
end
2728
@testset "DiskArray chunk interface" begin
2829
b = AG.getband(ds, 1)

0 commit comments

Comments
 (0)