Hi, if anyone has any experience with Luke Roth's gdal package… I'm 
relatively new to Go, and very new to GeoTIFF and GDAL, and struggling a 
bit.

I'm trying to read data from a 32-bit float band of a GeoTIFF (representing 
elevation) and have two questions:


   1. Is there any way to directly access the very useful values returned 
   by `gdal.Info(sourceDS Dataset, options []string)`? Do I have to parse the 
   resulting string myself? Does the `options []string` argument do something 
   that might be of use to me?
   2. I can get as far as having a Go variable referencing the RasterBand 
   I'm interested in, and everything I *can* examine about it checks out, 
   but I'm stumped at how to extract the data from the band. The closest  I 
   can figure is the `RasterBand.ReadBlock(…)` method, but can't figure out 
   how to use it… admittedly, it seems to require the use of an 
   `unsafe.Pointer` and I don't really understand those. Any guidance, 
   documentation, gists, etc. that might help me out would be very much 
   appreciated!


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a1b3491e-25d4-431d-9349-034e80a004b0n%40googlegroups.com.

Reply via email to