GEDCOM : Différence entre versions

De PGVWiki
Sauter à la navigation Sauter à la recherche
Ligne 15 : Ligne 15 :
 
Si vous avez déjà ouvert un fichier GEDCOM en utilisant votre traitement de texte, vous avez probablement fait face à une suite bizarre de nombres, d'abréviations, et de morceaux d'information. Il n'y a pas lignes vides ni d'[http://fr.wikipedia.org/wiki/Aide:Indentation indentations] dans un fichier GEDCOM. C'est parce qu'il s'agit d'une spécification d'échange d'information d'un ordinateur à un autre, et cette spécification n'a jamais été pensée pour être lue comme un fichier texte.  
 
Si vous avez déjà ouvert un fichier GEDCOM en utilisant votre traitement de texte, vous avez probablement fait face à une suite bizarre de nombres, d'abréviations, et de morceaux d'information. Il n'y a pas lignes vides ni d'[http://fr.wikipedia.org/wiki/Aide:Indentation indentations] dans un fichier GEDCOM. C'est parce qu'il s'agit d'une spécification d'échange d'information d'un ordinateur à un autre, et cette spécification n'a jamais été pensée pour être lue comme un fichier texte.  
  
GEDCOMS basically take your family information and put it in an outline format. Records in a GEDCOM file are arranged in groups of lines that hold information about one individual (INDI) or one family (FAM) and each line in an individual record has a level number. The first line of every record is numbered zero (0) to show that it is the beginning of a new record. Within that record, different level numbers are subdivisions of the next level above it. For example, the birth of an individual may be given level number one (1) and further information about the birth (date, place, etc.) would be given level two (2).  
+
Les GEDCOMS prennent vos informations familiales de manière basique et les placent dans un format particulier. Les enregistrements dans un fichier GEDCOM sont arrangés en groupements de lignes qui contiennent chacun les informations sur un individu (INDI) ou une famille (FAM) et chaque ligne dans l'enregistrement d'un individu est identifié par un numéro de rang. La première ligne de chaque enregistrement est numérotée zéro (0) pour marquer le début d'un nouvel enregistrement. A l'intérieur de cet enregistrement, les différents numéros de rangs sont en fait des subdivisions du niveau immédiatement supérieur. Par exemple, la naissance d'un individu peut se voir attribuée le numéro de rang un (1) et les informations complémentaires relatives à la naissance (date, lieu, etc.) se verront attribuées le numéro de rang deux (2).  
  
 
After the level number, you will see a descriptive tag, which refers to the type of data contained in that line. Most tags are obvious: BIRT for birth and PLAC for place, but some are a little more obscure, such as BARM for Bar Mitzvah.  
 
After the level number, you will see a descriptive tag, which refers to the type of data contained in that line. Most tags are obvious: BIRT for birth and PLAC for place, but some are a little more obscure, such as BARM for Bar Mitzvah.  

Version du 19 mars 2008 à 06:02

GEDCOM
Un format de fichier utilisé par PhpGedView et beaucoup d'autres programmes de généalogie pour sauvegarder et partager des données de généalogie.


Source:- http://genealogy.about.com

Qu'est-ce qu'un GEDCOM et comment l'utiliser ?

Un des plus gros avantages de l'utilisation d'Internet pour les recherches généalogiques est sa capacité à permettre les échanges d'information avec d'autres chercheurs. Un des moyens les plus utilisés pour cet échange d'information est le GEDCOM, un acronyme pour GEnealogical Data COMmunication (COMmunication de Données GEnéalogiques). En termes simples, il s'agit d'une méthode de formatage des données de votre arbre généalogique en un fichier texte qui peut être facilement lu et converti par n'importe quel programme de généalogie. La spécification GEDCOM a été développée à l'origine en 1985 et est la propriété du département histoire de l'église de Jésus-Christ des saints des derniers jours. La version actuelle qui est sortie le 12 janvier 1996 est la GEDCOM 5.5. Il existe une version de travail GEDCOM 5.5.1 (2 octobre 1999) qui est acceptée par un certain nombre de programmes de généalogie mais cette version de travail n'a jamais été formellement approuvée. Le 6 décembre 2002 une version beta de GEDCOM 6.0 est sortie pour les développeurs afin qu'ils l'étudient. GEDCOM 6.0 sera la première version qui enregistrera les données au format XML.

Le standard GEDCOM utilise une série de TAGS (ou balises) pour décrire l'information dans le fichier généalogique de votre famille. Ces TAGS sont INDI pour les individus, FAM pour les familles, BIRT pour les naissances et DATE pour une date. Beaucoup de débutants hésitent à essayer d'ouvrir et lire le fichier GEDCOM avec un traitement de texte. En théorie, c'est une tâche tout à fait réalisable, mais très fastidieuse. Les fichiers GEDCOMS sont plutôt conçus pour être ouverts par un logiciel de généalogie ou par un afficheur spécial de GEDCOM.

Structure d'un fichier GEDCOM

Si vous avez déjà ouvert un fichier GEDCOM en utilisant votre traitement de texte, vous avez probablement fait face à une suite bizarre de nombres, d'abréviations, et de morceaux d'information. Il n'y a pas lignes vides ni d'indentations dans un fichier GEDCOM. C'est parce qu'il s'agit d'une spécification d'échange d'information d'un ordinateur à un autre, et cette spécification n'a jamais été pensée pour être lue comme un fichier texte.

Les GEDCOMS prennent vos informations familiales de manière basique et les placent dans un format particulier. Les enregistrements dans un fichier GEDCOM sont arrangés en groupements de lignes qui contiennent chacun les informations sur un individu (INDI) ou une famille (FAM) et chaque ligne dans l'enregistrement d'un individu est identifié par un numéro de rang. La première ligne de chaque enregistrement est numérotée zéro (0) pour marquer le début d'un nouvel enregistrement. A l'intérieur de cet enregistrement, les différents numéros de rangs sont en fait des subdivisions du niveau immédiatement supérieur. Par exemple, la naissance d'un individu peut se voir attribuée le numéro de rang un (1) et les informations complémentaires relatives à la naissance (date, lieu, etc.) se verront attribuées le numéro de rang deux (2).

After the level number, you will see a descriptive tag, which refers to the type of data contained in that line. Most tags are obvious: BIRT for birth and PLAC for place, but some are a little more obscure, such as BARM for Bar Mitzvah.

A simple example of GEDCOM records (my explanations are underlined:

0 @I2@ INDI <- The level 0 means this is a new record. The INDI tag means the record is for an individual.
1 NAME Charles Phillip /Ingalls/ <-name of individual
1 SEX M <- level 1 info denotes data about the individual in level 0, Charles Ingalls
1 BIRT 
2 DATE 10 JAN 1836 <- this is level 2, because it refers to the birth in level 1 above
2 PLAC Cuba, Allegheny, NY
1 DEAT
2 DATE 08 JUN 1902
2 PLAC De Smet, Kingsbury, Dakota Territory
1 FAMC @F2@
1 FAMS @F3@
0 @I3@ INDI <-A new record (level 0) for a new individual
1 NAME Caroline Lake /Quiner/
1 SEX F
1 BIRT
2 DATE 12 DEC 1839
2 PLAC Milwaukee Co., WI
1 DEAT
2 DATE 20 APR 1923
2 PLAC De Smet, Kingsbury, Dakota Territory
1 FAMC @F21@ <-FAMC indicates the FAM record where this person appears as a Child
1 FAMS @F3@ <-FAMS indicates the FAM record where this person appears as a Spouse

Tags can also serve as pointers (@I2@), which indicate a related individual, family or source within the same GEDCOM file. For example, a family record (FAM) will contain pointers to the individual records (INDI) for the husband, wife and children.

Here is the family record which contains Charles and Caroline, the two individuals discussed above:

0 @F3@ FAM <- this is family record #3, pointed to from the above individual records
1 HUSB @I2@ <- this is a pointer to individual record (INDI) I2, for Charles Phillip Ingalls 
1 WIFE @I3@
1 MARR
2 DATE 01 FEB 1860
2 PLAC Concord, Jefferson, WI
1 CHIL @I1@ <- these point to the individual records for the children 
1 CHIL @I42@
1 CHIL @I44@
1 CHIL @I45@
1 CHIL @I47@

As you can see, a GEDCOM is basically a connected database of records with pointers which keep all of the relationships straight. While you should now be able to decipher a GEDCOM with a text editor, you will still find it much easier to read with the appropriate software.

How Can I Read a GEDCOM File?

If you've spent much time on the Web researching your family tree, then it is likely that you've either downloaded a GEDCOM file from the Internet or received one from a fellow research via email or on floppy disk. So now you have this nifty family tree which may contain vital clues to your ancestors and your computer can't seem to open it. What to do?

How To Open and Read a GEDCOM File

Is it Really a GEDCOM?

Begin by ensuring that the file that you want to open is truly a GEDCOM file, and not a family tree file created in some proprietary format by a genealogy software program. A file is in GEDCOM format when it ends in the extension .ged. If the file ends with the extension .zip then it has been zipped (compressed) and needs to be unzipped first. See Handling Zipped Files.

Save the GEDCOM File to Your Computer

Whether you are downloading the file from the Internet or opening it as an email attachment, the first thing you should do is save the file to a folder on your hard drive. I've got a folder created under "C:\My Download Files\Gedcoms\" where I save my GEDCOM files. If you're saving it from email you may want to scan it for viruses first before saving to your hard drive (see Step 3).

Scan the GEDCOM for Viruses

Once you have the file saved to your computer hard drive, it is time to scan it for viruses using your favorite antivirus software program. If you need help with this, see Protecting Yourself from Email Viruses. Even if you know the person who sent you the GEDCOM file, it is better to be safe than sorry.

Make a Backup of Your Existing Genealogy Database

If you have a family tree file on your computer you should always make sure you have a recent backup before opening a new GEDCOM file. This will allow you to revert to your original file in case something goes wrong when you're opening/importing the GEDCOM file.

Open the GEDCOM File with Your Genealogy Software

Do you have a genealogy software program? If so, then begin your family tree program and close any open family tree project. Then follow the program's instructions for opening/importing a GEDCOM file. If you need help with this, then see How to Open a GEDCOM File in Your Genealogy Software Program. Be sure to look at the GEDCOM file by itself first, rather than opening or merging it directly into your own family tree database. It is much harder to figure out how to remove unwanted people, than it is to add new people later after you have reviewed the new GEDCOM file.

Generic Instructions for Opening a GEDCOM File:

  • This works for most family tree software programs. See your program's help file for more specific instructions.
1. Launch your family tree program and close any open genealogy files.
2. In the top-left hand corner of your screen, click the File menu.
3. Select either Open, Import or Import GEDCOM.
4. If .ged is not already highlighted in the "file type" box, then scroll down and select GEDCOM or .ged.
5. Browse to the location on your computer where you save your GEDCOM files and select the file that you want to open.
6. The program will create a new genealogy database containing the information from the GEDCOM. Enter a filename for this new database, making sure that is one that you can distinguish from your own files. Example: 'powellgedcom'
7. Click Save or Import.
8. The program may then ask you to make a few choices regarding the import of your GEDCOM file. Just follow the directions. If you're not sure what to select, then just stick with the default options.
9. Click OK.
10. A confirmation box may appear stating that your import was successful.
11. You should now be able to read the GEDCOM file in your genealogy software program as a regular family tree file.
                  

Other Ways to Open a GEDCOM File

If you don't have a genealogy software program you can still open and read GEDCOM files. Many free and shareware programs are available which allow you to easily open and view GEDCOM files. You can find a collection of these here: GEDCOM Viewers.

How Can I Create and Share a GEDCOM File?

Do you want to share your family tree file with friends, family, or fellow researchers? Unless they use the same genealogy software program as you they will not be able to open and read your family file unless you send it to them in GEDCOM format. The same goes for most online pedigree databases which only accept family tree submissions in GEDCOM format. Learning to save your family tree as a GEDCOM file will make it much easier to share your family tree and connect with fellow researchers.

How To Save Your Family Tree as a GEDCOM File

All major family tree software programs support the creation of GEDCOM files. Creating a GEDCOM file does not overwrite you existing data or change your existing file in any way. Instead, a new file is generated by a process known as "exporting." Exporting a GEDCOM file is easy to do with any family tree software by following the basic instructions below. You can also find more detailed instructions in your genealogy software's manual or help system. You should also be sure to remove private information such as birth dates and social security numbers for people in your family tree who are still living in order to protect their privacy.

Generic Instructions for Creating a GEDCOM File:

  • This works for most family tree software programs
  1. Launch your family tree program and open your genealogy file.
  2. In the top-left hand corner of your screen, click the File menu.
  3. Select either Export or Save as...
  4. Change the Save As Type or Destination drop-down box to GEDCOM or .GED.
  5. Select the location where you'd like to save your file (make sure it's one you can easily remember)
  6. Enter a filename such as 'powellfamilytree' (the program will automatically add the .ged extension)
  7. Click Save or Export.
  8. Some type of confirmation box will appear stating that your export has succeeded.
  9. Click OK.
 10. If your genealogy software program does not have the ability to protect the privacy of living individuals, then try one of these GEDCOM privatizing programs to filter the details of living people from your original GEDCOM file.
 11. Your file is now ready to share with others (see below).
      

How to Share My GEDCOM File

Once you have created a GEDCOM file you can now easily share it with others via email, floppy disk/CD, or the Internet.

  • To share your GEDCOM file via email you will need to send it as an attachment to your email. Be sure to include a short note in your email telling the recipient what to expect in the attachment so that they won't delete it as a potential virus-laden attachment. You may also want to attach brief instructions on how to open the file or point them to my instructions on How to Open a GEDCOM File. If you need help with how to send attachments via email, then try How to Send an Email Attachment.
  • To share your GEDCOM file via snail mail you will need to save it to a floppy disk or burn it onto a CD.
  • You can also share your GEDCOM file with others online by uploading to one of the many pedigree databases which exist on the Web. The best of these promise not to sell your information for profit and allow for easy searching for matches against the names in your family tree.

GEDCOMs and PhpGedView

PhpGedView maintains a GEDCOM file on the web server as well as using a database to store the same information in a manor that allows quicker and easier searching and editing of the GEDCOM data. Although, most of the time you do not need to be aware of this it is helpful in understanding how GEDCOMs are added and used by PhpGedView.

Lineage-Linked GEDCOM Form

This is a model of the lineage-linked GEDCOM structure for submitting data to other lineage-linked GEDCOM processing systems. A header and a trailer record are required, and they can enclose any number of data records. Tags must be used in the same context as shown in the following form. User defined tags (see <NEW_TAG> ) are discouraged but when used must begin with an under-score.

0 <<HEADER>> {1:1} 
0 <<SUBMISSION_RECORD>> {0:1} 
0 <<RECORD>> {1:M} 
0 TRLR {1:1}

External Links

Draft GEDCOM 5.5.1 Specification
http://www.phpgedview.net/ged551-5.pdf
Draft GEDCOM XML 6 Specification
http://www.familysearch.org/GEDCOM/GedXML60.pdf