Skip to content

Commit

Permalink
fix bandnames
Browse files Browse the repository at this point in the history
  • Loading branch information
kongdd committed Jun 21, 2024
1 parent baf9db7 commit dd5fbe1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/IpaperArchGDALExt/IpaperArchGDALExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using ArchGDAL.GDAL.GDAL_jll: gdalinfo_path, ogrinfo_path
using Ipaper.sf
import Ipaper.sf: write_gdal, read_gdal, gdalinfo, getgeotransform,
gdal_polygonize, nband, nlayer
import Ipaper.sf: gdal_info, org_info
import Ipaper.sf: gdal_info, org_info, bandnames, set_bandnames
# import Ipaper.sf: WGS84

include("gdal_basic.jl")
Expand Down
3 changes: 3 additions & 0 deletions src/sf/sf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export range2bbox
export st_bbox, st_dims, st_cellsize
export write_gdal, read_gdal, st_write, st_read
export gdal_polygonize, rm_shp, nlyr, nband, nlayer
export bandnames, set_bandnames
export getgeotransform

function nband end
Expand All @@ -20,6 +21,8 @@ function read_gdal end
function write_gdal end
function gdal_info end
function org_info end
function bandnames end
function set_bandnames end

nlyr = nband
st_write = write_gdal
Expand Down
1 change: 0 additions & 1 deletion src/tools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ function zip_continue(x::AbstractVector{<:Integer})
res
end


# using Interpolations
# function approx(x, y, xout)
# interp_linear_extrap = linear_interpolation(x, y, extrapolation_bc=Line())
Expand Down

0 comments on commit dd5fbe1

Please sign in to comment.