// Get spheroid semi-minor axis func (sr SpatialReference) SemiMinorAxis() (float64, error) { var err C.OGRErr axis := C.OSRGetSemiMinor(sr.cval, &err) if err != 0 { return float64(axis), error(err) } return float64(axis), nil }
// Get spheroid semi-minor axis func (sr SpatialReference) SemiMinorAxis() (float64, error) { var cErr C.OGRErr axis := C.OSRGetSemiMinor(sr.cval, &cErr) return float64(axis), cErr.Err() }