// Set the Bursa-Wolf conversion to WGS84 func (sr SpatialReference) SetTOWGS84(dx, dy, dz, ex, ey, ez, ppm float64) error { return C.OSRSetTOWGS84( sr.cval, C.double(dx), C.double(dy), C.double(dz), C.double(ex), C.double(ey), C.double(ez), C.double(ppm), ).Err() }
// Set the Bursa-Wolf conversion to WGS84 func (sr SpatialReference) SetTOWGS84(dx, dy, dz, ex, ey, ez, ppm float64) error { err := C.OSRSetTOWGS84( sr.cval, C.double(dx), C.double(dy), C.double(dz), C.double(ex), C.double(ey), C.double(ez), C.double(ppm)) if err != 0 { return error(err) } return nil }