Skip to content
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

Initial renaming for GDAL3 move. #11

Merged
merged 8 commits into from
Dec 29, 2019
Merged

Initial renaming for GDAL3 move. #11

merged 8 commits into from
Dec 29, 2019

Conversation

evetion
Copy link
Owner

@evetion evetion commented Aug 15, 2019

Adapting to changes in:

At the moment running into:

PROJ: createGeodeticReferenceFrame: Cannot find proj.db```

@visr
Copy link
Collaborator

visr commented Aug 15, 2019

Do you see this error locally? And GDAL.jl is checked out to the right branch and built and its tests pass?

src/utils.jl Outdated
@@ -23,7 +23,7 @@ const GMF = Dict(
function mask_flags(flags::Int32)
(f.first for f in GMF if (flags & f.second) == f.second)
end
mask_flags(band::ArchGDAL.RasterBand) = mask_flags(GDAL.C.GDALGetMaskFlags(Ptr{Nothing}(band.ptr)))
mask_flags(band::ArchGDAL.IRasterBand) = mask_flags(GDAL.gdalgetmaskflags(Ptr{Nothing}(band.ptr)))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ArchGDAL.AbstractRasterBand should work fine here?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx! That also works.

@evetion
Copy link
Owner Author

evetion commented Aug 16, 2019

Do you see this error locally? And GDAL.jl is checked out to the right branch and built and its tests pass?

Yeah. Weird thing is, if I run a similar command in the REPL, everything works. But not when running tests. I'm going to temporarily commit my Manifest.toml and see whether the CI has the same issues.

edit: same thing happens on Travis.

evetion and others added 2 commits December 25, 2019 16:44
as both GDAL and ArchGDAL have released new versions
@evetion evetion merged commit 172be14 into master Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants