<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I loaded an image with:<br>GDALRasterIO(hB,GF_Read,0,0,nX,nY,oneDarray,nX,nY,GDT_Float32,0,0);<br><br></div>to run some statistics, however, a new requirement is to make stats per land-use,<br>
<br></div>is there a way to get the index of a given pixel in the 1D array from a given set of row & column?<br><br></div>Thank you,<br>Yann<br><div><div><br clear="all"><div><div><div><br>-- <br>----
</div></div></div></div></div></div>