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

Add CPLErrContainer wrapper for ContourGenerate #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emar-kar
Copy link

@emar-kar emar-kar commented Apr 8, 2024

Recent update with new func ContourGenerate resulted in build errors on new versions of go.

github.com/lukeroth/gdal/algorithms.go:325:3: CPLErr(func() _Ctype_CPLErr {…}()).Err undefined (type CPLErr has no field or method Err)

This problem is related to #90 and was fixed in #92. Nevertheless ContourGenerate was using old format which caused some troubles.

@ARolek
Copy link

ARolek commented Apr 27, 2024

I just hit this same problem and this PR fixed it for me.

@canghel3
Copy link

this does fix the compile errors. would be nice if it was merged.

@chris
Copy link

chris commented May 20, 2024

Running into this as well. Using Go 1.22.3 on arm64 macOS.

@emar-kar
Copy link
Author

emar-kar commented Jun 3, 2024

@martende can you take a look, please?

@pdxrlj
Copy link

pdxrlj commented Jun 14, 2024

this does fix the compile errors. would be nice if it was merged.

@canghel3
Copy link

Any updates on this?

@Chenzo1001
Copy link

Still not merged yet....I've just modified local file by myself....

@canghel3
Copy link

Still not merged yet....I've just modified local file by myself....

I'd suggest using another library that is somewhat better maintained : https://github.com/airbusgeo/godal
This repo is dead.

@AliFlux
Copy link

AliFlux commented Oct 17, 2024

Hi, this package is completely broken. And this PR could fix it, any idea why this isnt merged yet?

@xiaxichen
Copy link

hi this pr is good please check it

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.

8 participants