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

2008-09-26 Thread Andruit
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. Andi -- GMX Kos

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

2008-09-26 Thread Andruit
Hello, I have an ESRI ascii raster and would like to get the raster values at defined x y locations. At the moment I am capable to load the Raster Dataset and can perform several operations like querying the Min/Max values, the origin, the pixelsize and so on But is there a function to