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

Examples available for reading from RasterBand? #82

Open
jpgringo opened this issue Oct 28, 2022 · 1 comment
Open

Examples available for reading from RasterBand? #82

jpgringo opened this issue Oct 28, 2022 · 1 comment

Comments

@jpgringo
Copy link

Hi, not an issue, but having trouble getting any guidance elsewhere on the web (probably due to the small and esoteric group who need this functionality), so apologies for that. I'm trying to read from a band consisting of float64/DOUBLE values… the Python example here is analogous to what I'm trying to accomplish. The closest equivalent, I'm guessing, to their library's ReadAsArray method is the RasterBand.ReadBlock(…) function, which I cannot get to work without causing a panic. I know the documentation is sparse (and understand why) but is there a gist or other example somewhere that might get me over that gap? Many thanks.

@df-bingo
Copy link

df-bingo commented Aug 27, 2024

遇到了同样的困惑,找不到RasterBand.ReadBlock(…)函数的使用方法,烦请指教,非常感谢

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

No branches or pull requests

2 participants