GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Element identifier format

Click to view RSS...
Author "ind00001" or "I1"
Posted Wednesday, July 18, 2012 - Post #30397
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 6 hours ago
Posts: 471, Visits: 3,193
I received a genogram which I exported to XML.  The resulting file contains strangely formatted element identifiers.
Instead of the usual "ind00001" for an individual ID, it reads "I1".  The same applies to family IDs.

GenoPro does not seem to have any problem with this and even after modifying the genogram it uses the same short identifier format after saving the new version and exporting it.  Is there a flag somewhere that sets this format?  I could not find one.

Sample:

 <Individuals>
    <Individual ID="I1">


and:

 <PedigreeLink PedigreeLink="Parent" Family="F13" Individual="I1"/>


Regards,
Nand
Posted Wednesday, July 18, 2012 - Post #30398
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.0

Last Login: Wednesday, October 7, 2020
Posts: 952, Visits: 10,075
The identifier are only used to link the object (individual, pedigree, family) together.

In the more recent version we use smaller ID to make the file smaller.

For a single individual I know you can specify the ID in the table layout.

Just curious, why the ID matter to you?
Posted Wednesday, July 18, 2012 - Post #30399
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 6 hours ago
Posts: 471, Visits: 3,193
Hi J.C.

It matters to me because I'm processing the XML file directly in my "merge" tool and I'm using the IDs as a numerical index.

In the past, GenoPro used the GEDCOM format for the IDs (like ind00001) and now, all of a sudden this changed.  I agree that the new version is "better" in some cases (forget about sorting) and that it removes the 99999 limit, but I would like to know how to easily differentiate between both.  GenoPro does not seem to have any problem with this, so I presume there's a switch somewhere.  Or are you testing "on the fly" when loading the file?  Like if it starts with "ind" it's the old version, if it starts with "I" it's the new one.  Let us not make the same mistake as "they" did with UTF-8 where you sometimes also have to "guess" what you are dealing with.

Regards,
Nand
Posted Wednesday, July 18, 2012 - Post #30402
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 6 hours ago
Posts: 471, Visits: 3,193
Regarding the table layout we now have two different numberings in the the ID column.  Some people will see formats like "ind00074" in one table others "I74" in another table and those like me, who are comparing tables, may see both at the same time.  Fun.  But no problem, convering to a uniform format is no issue.

Question: why did you not opt for the simpliest version, without the letter prefix?

Like in:

 <PedigreeLink PedigreeLink="Parent" Family="13" Individual="1"/>

   (not Family="F13" and Individual="I1")

That would save you another 2 unicode bytes per reference.
Posted Wednesday, July 18, 2012 - Post #30403
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 3 hours ago
Posts: 3,338, Visits: 25,589
I have many of the compact format identifiers in my .gno. They arose when I imported a Gedcom file many years ago.  Evidently some other packages hold identifiers in this format and export the same to gedcom, and so mixed format is unavoidable, irrespective of how GenoPro derives its own as data could arrive from various other packages. e.g. typically one could receive a gedcom from a relative with many overlapping records which are to be merged.

But does the format impact on a merge?  Many years ago I started to write, but never actually finished, a VBscript to merge files, the only way I could see of achieving a merge was to compare key items like name, date of birth/death etc. Where a match is vague, e.g. no dates only names available I decided to prompt for confirmation of a match before merging.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Posted Wednesday, July 18, 2012 - Post #30405
Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master

Gamma
Moderators
Administrators
FamilyTrees.GenoPro.com
Customers
GenoPro version: 3.1.0.0

Last Login: Wednesday, October 7, 2020
Posts: 952, Visits: 10,075
Nand (18-Jul-2012)


Question: why did you not opt for the simpliest version, without the letter prefix?

Like in:

 <PedigreeLink PedigreeLink="Parent" Family="13" Individual="1"/>

   (not Family="F13" and Individual="I1")

That would save you another 2 unicode bytes per reference.


We wanted all IDs to be unique... assigning a number to an identifier would make some IDs having the same value, such as an individual with the ID 1 and a family with the same ID.

Edited: Wednesday, July 18, 2012 by GenoProSupport
Posted Wednesday, July 18, 2012 - Post #30411
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, April 12, 2024
Posts: 214, Visits: 3,581
I confirm everything he says Genoma:
The presence of ID with a different format (123 or I123, or ind00123), is due to the import of different file.ged, acquired with several software. GenoPro accept any ID in the Import function, just erase the identical ID. Even with the manual acquisition of the "Permanent ID" in the Family Folder, you can insert any ID (even aaa, bbb, ccczxz, 1, ...). Then with Save, builds the missing ID always in the format ind00123, increasing by 1 the highest ID of that format.

Given that the ID has value only as a key link between records, should provide a function for a complete reconstruction of the IDs in a single format.

Moreover, it seems very dangerous to perform a merge automatically. I would consider it safer to ask for confirmation of a match before merging.

I hope I given to understand with my Google-english.
Greetings


Vittorino Lepore 
"
Se non porti almeno una soluzione, anche tu fai parte del problema" or "If you don't bring at least a solution, even you're a part of the problem"
Posted Thursday, July 19, 2012 - Post #30416
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: 6 hours ago
Posts: 471, Visits: 3,193
Wait a moment.  We are mixing up three different things here.

(1) The fact that I'm processing identifiers in a numeric format has nothing to do with the merge tool but is used in a completely different project that is of no benefit to GenoPro users.

(2) My basic question was: how does GenoPro differentiate between "ind00001" and "I1" without analyzing the values.  The official answer seems to be that it does not differentiate them at all that it just processes them as identifier strings.  I strongly doubt about this, but anyhow, so be it.

(3) I never mentioned an "automatic" merge, did I?  That would be suicidal.  On the contrary, version 1 will actually ask you to identify a matching individual pair by specifying the identifiers of both individuals.  I have to start somewhere, hence my renewed interest in identifiers.  Version 2 is intended to help you find matching pairs.  But that's another story and has nothing to do with this topic.

Stay tuned,
Nand


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse