I'm trying to create a tif file using the GeoTiff library. I managed to write all the data into a normal tif file using the standard TIF function of the library, but I can't figure out how to use the functions to add the coordinates of the corners.
I've looked for example on the internet and got to the point of being able to add information relative to the geolocalization of the image : Model, Raster, Angular unit, etc. But I can't see any keys to add the corners information that I must get when dumping tag info with "listgeo" : Corners Coordinate
...
GTIFKeySet(gtif, GeogCitationGeoKey, TYPE_ASCII, 7, "WGS 84");
GTIFKeySet(gtif, GeogAngularUnitsGeoKey, TYPE_SHORT, 1, 9102);
GTIFKeySet(gtif, GeogSemiMajorAxisGeoKey, TYPE_DOUBLE, 1, 6378137.0);
GTIFKeySet(gtif, GeogInvFlatteningGeoKey, TYPE_DOUBLE, 1, 298.257223563);
...
Could someone indicate where I can find documentation on how to write those coordinate, or which key/function I need to use to do that, if it's possible ?
Cheers.