GDAL data - change top left coordinate

المشرف العام

Administrator
طاقم الإدارة
I have GDAL raster dataset. I want to extract raw values from it. All is working correctly, but problem is with top left coorinates. If I extract data from GDALRasterBand, point[0,0] is at topLeft. How can I change this? I can "move" extracted values, but I rather want some direct solution, that I extract values correctly.

I have tried SetGeoTransform, but with no effect.

UPDATE:

For example I extract data and pixel [0,0] has coordinate lon: 0.2, lat: 90.1. I want it to have lon: 180.0, lat: 80.0 (step is 0.5 degree, so next pixesl are offseted with this step)



أكثر...
 
أعلى