// Get spheroid inverse flattening axis func (sr SpatialReference) InverseFlattening() (float64, error) { var err C.OGRErr flat := C.OSRGetInvFlattening(sr.cval, &err) if err != 0 { return float64(flat), error(err) } return float64(flat), nil }
// Get spheroid inverse flattening axis func (sr SpatialReference) InverseFlattening() (float64, error) { var cErr C.OGRErr flat := C.OSRGetInvFlattening(sr.cval, &cErr) return float64(flat), cErr.Err() }