<div>The default way of doing things at my company is to treat the lower left corner of a file as the origin. Thus when I call RasterIO on a GeoTIFF, I make the buffer I pass as pData address to the last row of the buffer I've allocated, and I make nLineSpace negative. This has the effect of reading the file from the beginning, but placing each line into my buffer starting at the last and finishing at the first line. This was working great until I started reading ArcInfo/Ascii files with origins in the lower-left. In this case, I wouldn't want to address to the last row of my buffer, I'd want to address to the beginning of my buffer, and use a positive value for my line space. </div>
<div> </div>
<div>Is there metadata that will tell me where the file's origin is? If not, any suggestions as to how to deal with this problem?</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div>Todd</div>