# What is your practice with GrampID?

**URL:** <https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324>\
**Category:** Help\
**Created:** [March 1, 2023, 7:53pm UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324 "2023-03-01T19:53:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgerlier](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pgerlier](https://gramps.discourse.group/u/pgerlier)\
**Post date:** [March 1, 2023, 7:53pm UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324/1 "2023-03-01T19:53:08Z")

</div>

Genealogical objects stored in the database are internally identified by their “handle” which is assigned when the object is created and never changes whatever the modifications to the object.

For obvious reasons of DB reliability and integrity, this “handle” is invisible to users.

Primary objects (not all objects, only those which are listed in the left pane of the main window) have a GrampsID in the default form of I1234 for persons (Individual 1234), F5678 for families (Family 5678), etc. This GrampsID can be modified at will. There is even a tool to bulk renumber the objects and reclaim “holes” in the numbering.

The fact that a GrampID may change prevents them from being used in notes to refer permanently to another object.

The only use I can see for them is a disambiguation role to uniquely identify homonyms (person, family, place, …). They are also involved in labelling GEDCOM data blocks, but this is external to Gramps. Apart from this, I see no safe usage for them.

May it be that in the very first versions of Gramps such GrampsIDs were in fact the true identity of the objects? Later this role was secured into the “handle”?

Have you an effective use of GrampsID? Which one?

What would be the consequences of dropping them?

---

<div class="post-metadata">

**Author:** ![GaryGriffin](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/garygriffin/32/6525_2.png) [@GaryGriffin](https://gramps.discourse.group/u/GaryGriffin)\
**Post date:** [March 1, 2023, 9:32pm UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324/2 "2023-03-01T21:32:48Z")

</div>

The GetGOV addon creates a Gramps ID that is the GOV id (from the [GOV gazetteer](https://gov.genealogy.net/search/index)) rather than using the default Gramps pattern. This addon will import (and create if needed) the specified place and all parent places with attributes. This allows the addon to not duplicate an upload of a place (assuming the ID is not reset - this is documented in the [wiki page](https://gramps-project.org/wiki/index.php/Addon:GetGOV#Issues)) . This was more efficient than using the GOV id as an attribute of a Place and scanning the complete place list before import/creating a new place.

---

<div class="post-metadata">

**Author:** ![GeorgeWilmes](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@GeorgeWilmes](https://gramps.discourse.group/u/GeorgeWilmes)\
**Post date:** [March 1, 2023, 11:50pm UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324/3 "2023-03-01T23:50:52Z")

</div>

> [@pgerlier](#):
>
> What would be the consequences of dropping them?

As you mentioned, they’re used in GEDCOM exports. I don’t know if the handles could be used there instead.

You’re probably aware that you can go ahead and remove them from most of the views in Gramps, in the View - Configure - Columns dialog.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [March 2, 2023, 9:09pm UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324/4 "2023-03-02T21:09:05Z")

</div>

You can see an example here:

> [@Genealogical Numbering Systems](https://gramps.discourse.group/t/genealogical-numbering-systems/230/5):
>
> I’ve replaced all individual IDs of my Sosas, their descendants and any collaterals by a french guy system: Beruck numbering. It’s quite simple and efficient: ascendant number don’t change from sosa : 1, 2-3, 4-5 & 6-7, … descendants takes father’s ID and their firstname initial (upcase for men, lowcase for women) : 2A is a son of 2 which have a A as fisrtname initial 2m is her daughter, she is m something (Mary) 2m2 is her second daughter witch have too m as firstname initial (maybe Mariann…

or those:

- assumptions about families:  

- notes of reference:  

- personal media references:  

> [@pgerlier](#):
>
> What would be the consequences of dropping them?

I really wouldn’t want that, I guess I’d stick with the current version of Gramps at least for a while

---

<div class="post-metadata">

**Author:** ![pgerlier](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pgerlier](https://gramps.discourse.group/u/pgerlier)\
**Post date:** [March 3, 2023, 9:49am UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324/5 "2023-03-03T09:49:12Z")

</div>

> [@Genealogical Numbering Systems](https://gramps.discourse.group/t/genealogical-numbering-systems/230/5):
>
> I’ve replaced all individual IDs

Good point. You use this “visible-by-default” field for a valuable piece of information. Logically, it is an attribute but this avoids the pain of creating one through a dialog and numerous clicks.

Personally, I never store Sosa or other such numbering because it is not “absolute”. It depends on the root. Since I use my data to generate multiple ascendant/descendant trees, this would require to recompute the full labelling each time.

_Side remark: how do you handle lateral branches? Say your first cousin would be 4AB? And what about non-connected people?_

Could you explain the scheme in Families?

In Notes, the ID seems to take part of its encoding from note type. I guess the media ID is a shortened form of repository+description.

---

<div class="post-metadata">

**Author:** ![PLegoux](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/plegoux/32/413_2.png) [@PLegoux](https://gramps.discourse.group/u/PLegoux)\
**Post date:** [March 3, 2023, 6:29pm UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324/6 "2023-03-03T18:29:43Z")

</div>

> [@pgerlier](#):
>
> Side remark: how do you handle lateral branches? Say your first cousin would be 4AB?

Yes. My only first cousin, named Francis, is from my mother’s sister named Andrée. Its ID is 6aF.

> [@pgerlier](#):
>
> And what about non-connected people?

They continue to have the standard Innnnn generated GrampsID

> [@pgerlier](#):
>
> Could you explain the scheme in Families?

F for family  
FGN is the trigram for Francois VangoN  
Hn for hypothesis #n

When I’ll find what is the true couple I’ll merge then to keep only one family and I’ll delete the ID to let Gramps to generate a standard one.

…

> [@pgerlier](#):
>
> the ID seems to take part of its encoding from note type. I guess the media ID is a shortened form of repository+description.

NRef stand for Note of Reference, PLX is my trigram to find them easily then it’s just followed by a growing number.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [April 2, 2023, 6:30pm UTC](https://gramps.discourse.group/t/what-is-your-practice-with-grampid/3324/7 "2023-04-02T18:30:02Z")

</div>

Closed on April 2, 2023, 6:30pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
