Do you care how keys are assigned? If keys are sequential and assigned in the order that records are added, they will bounce around based on the vagaries of your research.
If you could come up with a scheme to assign key identifiers to records, would you want to do that? For instance would you want persons who are closely related to have similar keys?
And if you wanted to do that what kind of scheme would you want to use?
Tom Wetmore
--
---
You received this message because you are subscribed to the Google Groups "rootsdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rootsdev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rootsdev/95B417F9-5D43-4244-A84E-0334829422F8%40gmail.com.
On Jun 10, 2024, at 9:05 PM, Jason Wyckoff <ja...@jasonwyckoff.com> wrote:
Do you care how keys are assigned? If keys are sequential and assigned in the order that records are added, they will bounce around based on the vagaries of your research.Assuming keys are immutable... IMHO, no. Keys should be arbitrary identifiers that do not contain meaning. Though I've used integers for my Primary Keys (PKs) for years, I have embraced Guids recently to break me from attempting to extract meaning from the keys.
If you could come up with a scheme to assign key identifiers to records, would you want to do that? For instance would you want persons who are closely related to have similar keys?The issue with attempting to put meaning or logic into keys is when information changes?
What if you find out that someone really isn't related? What happens when you find another sibling in the family? What happens to the order that you put into the primary key?There are numbering systems available, but I believe that should be more decorative and illustrative instead of being a primary key. See https://familytreemagazine.com/organization/genealogy-numbering-systems/
--
---
You received this message because you are subscribed to the Google Groups "rootsdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rootsdev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rootsdev/95B417F9-5D43-4244-A84E-0334829422F8%40gmail.com.
--
---
You received this message because you are subscribed to the Google Groups "rootsdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rootsdev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rootsdev/6A061E52-C890-4301-B107-DCC94EAE5B9B%40gmail.com.
--
---
You received this message because you are subscribed to the Google Groups "rootsdev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rootsdev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rootsdev/BDAB4F16-011D-470B-820D-EBEAAA244129%40gmail.com.
Hi,
I think that the design of GEDCOM doesn't lend itself to overloading the record key with additional meaning. As Przemek points out, the key only has meaning in the scope of the file within which it sits. As soon as you try to merge two or more GEDCOM files, problems start to crop up.
I have tended to use the WWW field to hold persistent URLs which identify a particular source:
For individuals, as against sources of information, there is of course the Wikitree site https://www.wikitree.com/ which assigns a unique, persistent URL to each person.
Richard
To view this discussion on the web visit https://groups.google.com/d/msgid/rootsdev/CAOS3Shq-jDMaJbqzF8sZAUuCY9gL%3DjoYAoeUDV3OGXT2AZOPdQ%40mail.gmail.com.