// Set the affine transformation coefficients func (dataset Dataset) SetGeoTransform(transform [6]float64) error { err := C.GDALSetGeoTransform(dataset.cval, (*C.double)(unsafe.Pointer(&transform[0]))) if err != 0 { return error(err) } return nil }
// Set the affine transformation coefficients func (dataset Dataset) SetGeoTransform(transform [6]float64) error { return C.GDALSetGeoTransform( dataset.cval, (*C.double)(unsafe.Pointer(&transform[0])), ).Err() }