[gdal-dev] query raster values by xy-location

Andruit at gmx.de Andruit at gmx.de
Fri Sep 26 18:44:12 EDT 2008

Thanks for your suggestion,

As Jose proposed, I worked out the row and column of my pixel from my (x,y) location and extracted the value. 

I am using the function RasterIO() to do so.

It works fine. I can read a xy file and a ESRI ASCII Raster. As a result I get an xyz file.


GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!

More information about the gdal-dev mailing list