Re: [gdal-dev] Transforming rasters with the C API

2016-07-27 Thread Even Rouault
Pablo, Have a look at http://gdal.org/warptut.html if not already done. If using GDAL 2.1, you can also use GDALWarp() : http://gdal.org/gdal__utils_8h.html#ab2094d5332364d63e0851dcb12398469 Even > Hello, > > I'm trying to transform a raster into a different projection using the > public C fu

[gdal-dev] Transforming rasters with the C API

2016-07-26 Thread Pablo Rozas Larraondo
Hello, I'm trying to transform a raster into a different projection using the public C functions exposed in gdal_alg.h I have some code that I have been testing using the functions GDALCreateGenImgProjTransformer() and GDALGenImgProjTransform(): https://gist.github.com/monkeybutter/8367132e9683a