I want to share my idea of how to conveniently and reliably perform periodic exports from Gramps to RootsMagic. I apologize in advance if this is already common knowledge, but I haven’t found a clear solution for this process. I don’t think I’ve discovered any groundbreaking technique, but unfortunately, I haven’t come across a detailed description of how other researchers handle this process. Therefore, I’m offering my own perspective on it. My proposal might contain some mistakes, so I welcome any constructive criticism.
The Task
Since Gramps is my primary software for genealogical work, I often need to export data to online services like FamilySearch. RootsMagic provides useful tools for working with FamilySearch, so I decided to use it for this purpose. However, I believe this approach could also work similarly for importing data into other programs.
The Problem
The initial export from Gramps to RootsMagic is usually straightforward. However, subsequent exports become more complex because data changes in both programs, and RootsMagic may not always accurately match individuals across different versions of the database. This complicates and slows down the update process.
The Solution
To ensure accurate matching of individuals during future export-import cycles, I propose the following approach:
1. Generating _UID before export:
- Before each export from Gramps to RootsMagic, create a 32-character UUID using the SuperTool script and add it to the _UID attribute for each individual.
- This ensures the uniqueness of each person in the GEDCOM file.
2. Importing into RootsMagic:
- Import the GEDCOM from Gramps into a new database in RootsMagic.
- Then, use the File → Tools → Compare tool to compare the two databases.
- The comparison will be based on _UID, ensuring accurate matching, even with significant changes in the records.
3. Manual Merging:
- After the comparison, manual confirmation of changes for each individual will be required.
- I haven’t found a way to perform batch merging, so this process will take some time. However, the procedure is simplified by the fact that matching is reliable, and you only need to confirm changes.
4. Exporting to FamilySearch:
- After merging the new and updated individuals in RootsMagic, you can export them to FamilySearch one by one. This also involves non-intellectual work, but it probably cannot be fully automated.
- Afterward, the new _FSFTID identifiers can be manually added to Gramps. However, this step can also be automated.
5. Automating the process of creating _FSFTID in Gramps:
- To automate the transfer of new _FSFTID into Gramps, you can create a script that:
- Compares two GEDCOM files (one from RootsMagic and one from Gramps) and finds new _FSFTID identifiers that are missing from one of the files. Similarly, unnecessary ones can be removed.
- Creates an array with pairs of
gramps_id - _FSFTID
. - Using another SuperTool script, adds these new _FSFTID to Gramps.
Benefits and Summary
This approach reduces the amount of manual work and ensures accurate matching of individuals between Gramps and RootsMagic during periodic updates. The bulk of the work will be automated using two SuperTool scripts and a separate script for comparing GEDCOM files. Manual work will become less intellectually demanding due to the shared _UID between the two desktop applications.