[gdal-dev] Raster visualization

Petr Kitashov hilmekrhu at gmail.com
Thu May 10 09:48:44 EDT 2012


Hi,

I need just to display some region(any) from raster file. Seems like I
understand everything until rasterIO.
RasterIO fills(in my case) void* pData with raster info - that's great, but
how to display it?

Which data is stored there when I use GDALDataset::rasterIO, and which in
case of GDALRasterBand::RasterIO?

I.e. how to determine pixel values from pData?

I'm sorry if this question is stupid, but i spent a lot of time in google
and didn't find any solution.

-- 
Best Regards,
Petr Kitashov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120510/8e095518/attachment-0001.html


More information about the gdal-dev mailing list