// Fix up spatial reference as needed func (sr SpatialReference) Fixup() error { err := C.OSRFixup(sr.cval) if err != 0 { return error(err) } return nil }
// Fix up spatial reference as needed func (sr SpatialReference) Fixup() error { return C.OSRFixup(sr.cval).Err() }