[gdal-dev] Code example(s?) lost in migration to Sphinx

2019-06-09 Thread David Strip
Sorry if this has already been addressed- on the doc page for GDALRasterBand, method ReadBlock the documentation states The following code would efficiently compute a histogram of eight bit raster data. Note that the final block may be partial … data beyond

[gdal-dev] What is the correct way to read pixel data from a GDALRasterBand in C++?

2019-06-09 Thread David Strip
the docs have moved (but apparently Google hasn't figured that out yet?) GDALRasterBand is now here. Anyway, as you've figured out, the GDALRasterBand object is the heart of the matter. You have two ways to read the data, either with the RasterIO method or the ReadBl

[gdal-dev] What is the correct way to read pixel data from a GDALRasterBand in C++?

2019-06-09 Thread CDelancy
Using GDAL 3.0 in C++, how do I read pixel values from a raster band? Essentially, I am looking for something akin to GetValue(int X, intY) Unfortunately, with the documentation pages down, https://gdal.org/classGDALRasterBand.html, I haven't been able to make much headway on this. -- Sent from