frizbog / gedcom4j

Java library for reading/writing genealogy files in GEDCOM format
http://gedcom4j.org
53 stars 36 forks source link

Not able to get relations #187

Closed unnivm closed 6 years ago

unnivm commented 6 years ago

Hi,

I was able to parse my GEDCOM file and it has got 50000 individuals. I am not able to find any relationship among them though there are some relations between them,

Also, is it possible to get all the relations between two individuals? If so, how efficient will be the search mechanism?

thanks

frizbog commented 6 years ago

Please see the KinshipNameCalculator class (http://gedcom4j.org/javadoc/org/gedcom4j/relationship/KinshipNameCalculator.html) as well as example code for using the RelationshipCalculator as documented at http://gedcom4j.org/main/example-calculating-relationships