Changes

Jump to: navigation, search

Addon:GeneanetForGramps

3,647 bytes added, 19:34, 5 December 2020
Created page with "{{Third-party plugin}} The {{man label|GeneanetForGramps}} plugin allows you to add ancestors and descendants for a selected person. {{-}} ==Usage== Once this addon has been i..."
{{Third-party plugin}}
The {{man label|GeneanetForGramps}} plugin allows you to add ancestors and descendants for a selected person.
{{-}}
==Usage==
Once this addon has been installed:
* Select Menu {{man menu|Tools > Family Tree Processing -> Import Geneanet data for Gramps...}}

{{man warn|Undo history warning|Proceeding with this tool will erase the undo history for this session. In particular, you will not be able to revert the changes made by this tool or any changes made prior to it. If you think you may want to revert running this tool, please stop here and [[How_to_make_a_backup|backup]] your database.}}

* From the '''Undo history warning''' dialogue you can choose {{man button|Stop}} or {{man button|Proceed with the tool}}.

[[File:GeneanetForGramps.png|thumb|right|450px|Import from Geneanet into Gramps]]

* The {{man label|Genanet Import Options}} tab is displayed with the following:
** {{man label|Center Person:}} - Person to process in '''Geneanet''' (by default the active one)
** {{man label|Genanet URL:}} - The '''URL'' on the '''Geneanet''' site corresponding to the person selected in '''Gramps''' and from who you want to import ancestors and descendants. Note that in Gramps the person should have the same birth and death date so it works.
** {{man label|[ ] Import ascendants:}} - Check that box if you want to import ancestors of the person (False by default).
** {{man label|[ ] Import ascendants:}} - Check that box if you want to import descendants of the person (False by default).
** {{man label|[ ] Import spouses:}} - Check that box if you want to import spouses of the person (False by default).
** {{man label|Level of import:}} Number of upper or lower parsing you'll do in the '''Geneanet''' tree. If you choose 2 (default), you'll get parents and grandparents, children and grandchildren. Be careful by using large numbers as the parsing can then take a long time.
** {{man label|[ ] Force import:}} Force overwrite of existing '''Gramps''' fields in a person replaced by the '''Geneanet''' Filed (False by default).
** {{man label|Verbosity:}} Increase the versbi=osity in the text window where '''Gramps''' has been launched (from 0 to 4, 1 by default)

Once you have made your choices, you can either choose {{man button|Close}} or {{man button|Execute}} to launch the import.

== Tips ==

Make a try by just importing ancestors to check it's working correctly for you, and the you can add more persons.
Limit the level of import when starting at 2 before increasing once you verified it's working for you.
Note that the plugin can also be called from the CLI:

<pre>
usage: GeneanetForGramps.py [-h] [-v] [-a] [-d] [-s] [-l LEVEL]
[-g GRAMPSFILE] [-i ID] [-f]
[searchedperson]

Import Geneanet subtrees into Gramps

positional arguments:
searchedperson Url of the person to search in Geneanet

optional arguments:
-h, --help show this help message and exit
-v, --verbosity Increase verbosity
-a, --ascendants Includes ascendants (off by default)
-d, --descendants Includes descendants (off by default)
-s, --spouses Includes all spouses (off by default)
-l LEVEL, --level LEVEL
Number of level to explore (2 by default)
-g GRAMPSFILE, --grampsfile GRAMPSFILE
Full path of the Gramps database (under
$HOME/.gramps/grampsdb)
-i ID, --id ID ID of the person to start from in Gramps
-f, --force Force processing
</pre>

[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Tools]]
7
edits

Navigation menu