GEDCOM 5.x to GEDCOM X Conversion

Utilities for converting from GEDCOM 5.x to GEDCOM X

License

License

GroupId

GroupId

org.gedcomx
ArtifactId

ArtifactId

gedcom5-conversion
Last Version

Last Version

1.13.0
Release Date

Release Date

Type

Type

jar
Description

Description

GEDCOM 5.x to GEDCOM X Conversion
Utilities for converting from GEDCOM 5.x to GEDCOM X
Project URL

Project URL

https://github.com/FamilySearch/gedcom5-conversion
Source Code Management

Source Code Management

https://github.com/FamilySearch/gedcom5-conversion

Download gedcom5-conversion

How to add to project

<!-- https://jarcasting.com/artifacts/org.gedcomx/gedcom5-conversion/ -->
<dependency>
    <groupId>org.gedcomx</groupId>
    <artifactId>gedcom5-conversion</artifactId>
    <version>1.13.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.gedcomx/gedcom5-conversion/
implementation 'org.gedcomx:gedcom5-conversion:1.13.0'
// https://jarcasting.com/artifacts/org.gedcomx/gedcom5-conversion/
implementation ("org.gedcomx:gedcom5-conversion:1.13.0")
'org.gedcomx:gedcom5-conversion:jar:1.13.0'
<dependency org="org.gedcomx" name="gedcom5-conversion" rev="1.13.0">
  <artifact name="gedcom5-conversion" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.gedcomx', module='gedcom5-conversion', version='1.13.0')
)
libraryDependencies += "org.gedcomx" % "gedcom5-conversion" % "1.13.0"
[org.gedcomx/gedcom5-conversion "1.13.0"]

Dependencies

compile (5)

Group / Artifact Type Version
org.gedcomx : gedcomx-fileformat jar 2.122.0
org.familysearch.gedcom : gedcom jar 1.11.0
org.gedcomx.extensions.familysearch : familysearch-api-model jar 2.122.0
org.slf4j : slf4j-api jar 1.6.4
com.fasterxml.jackson.dataformat : jackson-dataformat-smile jar 2.6.2

runtime (1)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.0.3

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.5.2

Project Modules

There are no modules declared in this project.

GEDCOM 5.5 to GEDCOM X Converter

This utility converts a GEDCOM 5.5 file to a GEDCOM X file. The utility leverages the GEDCOM 5.5 parsing library contributed by Dallan Quass and the GEDCOM X file format writer contributed by FamilySearch. This converter follows the Legacy GEDCOM Migration Path as detailed by the GEDCOM X project.

Usage

Someday, we may get a GUI for this utility. But for now, you're going to have to run it from the command line:

  1. Install the Java Runtime Environment.
  2. Download the latest version of the utility (e.g. gedcom5-conversion-1.13.0-full.jar) and save it on your filesystem (e.g. /tmp/gedcom-converter.jar). (Be sure to download the "full" jar, otherwise you'll get a "no main manifest attribute" error message.)
  3. Go find a GEDCOM file and put it on your filesystem (e.g. /tmp/my.ged).
  4. Run the command:
$ java -jar /tmp/gedcom-converter.jar -i /tmp/my.ged -o /tmp/my.gedx

Assuming the above command is successful, the GEDCOM X file will be written to /tmp/my.gedx. Since the file is based on the ZIP file format, you can open it up with your favorite unzip program to see the contents.

Developers

This library is a Maven-based project. Here are the maven coordinates:

<dependency>
  <groupId>org.gedcomx</groupId>
  <artifactId>gedcom5-conversion</artifactId>
  <version>${gedcom5-conversion.version}</version>
</dependency>

Building From Source

  1. Clone the repo.
  2. mvn clean install

Status

There are still some things to be done. Here are some high-level notes on the status of this conversion tool.

All Records

The following are not currently converted on all types of records:

  • Notes (NOTE tag)
  • Multimedia (OBJE tag)
  • LDS Ordinances
  • ID's such as RIN, RFN, REFN and AFN tags
  • RESN tag
  • AGE tag is not supported on the event structures
  • Generic events (EVEN tag)

Individual

The following are not currently converted on an individual records:

  • Tags: ALIA ASSO
  • Generic facts (FACT tag)

Family

Families are converted into binary relationships (couple and parent-child). All tags are supported except the tags not supported on all records.

Contributor

All tags are supported except the tags not supported on all records.

Source

The following are not currently converted on an individual records:

  • Tags: TEXT

Repository

All tags are supported except the tags not supported on all records.

org.gedcomx

FamilySearch

Versions

Version
1.13.0
1.12.0
1.11.0
1.10.0
1.9.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0