This Help forum is for issues relates to the latest release (1.7.10/11/12). For issues related to development versions please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."

TOPIC: Modify GEDCOM in webtrees

Modify GEDCOM in webtrees 2 weeks 4 days ago #1

  • smashcfr
  • smashcfr's Avatar
  • Offline
  • New
  • Posts: 3
Hello,

I tried to export the gedcom file and import it in Wintree to see my whole tree, but I was surprised that a big part was missing.

After having checked, I found that gedcom lines for the family part does not have the right order (in my tree, created with webtrees), for example for the "wife" line.

I have this :
0 @F105@ FAM
1 HUSB @I330@
1 CHAN
2 DATE 04 APR 2013
3 TIME 13:45:55
2 _WT_USER newsmashcfr
1 WIFE @I331@

But I should have this (user.it.uu.se/~andersa/gedcom/ch2.html) :
FAMILY_RECORD:=

    n  @XREF:FAM@ FAM                                         {0:1}
       +1 HUSB @XREF:INDI@                                    {0:1}
       +1 WIFE @XREF:INDI@                                    {0:1}
       +1 CHIL @XREF:INDI@                                    {0:M}
       +1 REFN <USER_REFERENCE_NUMBER>                        {0:M}
       +1 <FAM_EVNT_TAG>                                      {0:M}
          +2 TYPE <FAMILY_EVENT_DESCRIPTOR>                   {0:1}
          +2 DATE <DATE_VALUE>                                {0:1}
          +2 <<PLACE_STRUCTURE>>                              {0:1}
       +1 <DIV_EVNT_TAG>                                      {0:M}
          +2 TYPE <DIVORCE_DESCRIPTOR>                        {0:M}
          +2 DATE <DATE_VALUE>                                {0:1}
          +2 <<PLACE_STRUCTURE>>                              {0:1}
       +1 ASSO @XREF:ANY@                                     {0:M}
          +2 TYPE <ASSOCIATION_DESCRIPTOR>                    {0:1}
       +1 NCHI <COUNT_OF_CHILDREN>                            {0:1}
       +1 <<LDS_FAM_ORDINANCE_EVENT>>                         {0:M}
       +1 <<SOURCE_STRUCTURE>>                                {0:1}
       +1 <<NOTE_STRUCTURE>>                                  {0:1}
       +1 <<MULTI_MEDIA_LINK>>                                {0:M}
       +1 <<CHANGE_DATE>>                                     {0:M}

=> The wife should be with the husband, and might not be later.

Is there a mean to correct this in webtrees without modifying all the families one by one (And having to do this later again with new families) ?

Thank you
The administrator has disabled public write access.

Modify GEDCOM in webtrees 2 weeks 4 days ago #2

  • ric2015
  • ric2015's Avatar
  • Offline
  • New
  • Posts: 85
smashcfr wrote:
=> The wife should be with the husband, and might not be later.

I don't think the GEDCOM specification supports this statement. See Chapter 2, under 'Lineage-Linked Form Usage Conventions':

"The order in which GEDCOM lines are written to a GEDCOM file is controlled by the context and
level number. When the lines are of equal level number but have a different tag name then the order is
not significant."

So it seems Wintree isn't importing correctly, according to the specification.
Richard

webtrees 1.7.10 at cissee.de/webtrees
Custom modules (Extended Relationships, Gov4Webtrees, Shared Places) available at cissee.de
The administrator has disabled public write access.

Modify GEDCOM in webtrees 2 weeks 4 days ago #3

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10708
> for example for the "wife" line.

This FAM record looks correct.

The order of HUSB/WIFE records is not important.

Other records may appear before/between/after the HUSB and WIFE records.

If wintree is failing because it cannot see the WIFE record in this FAM record, then this is an error in wintree.

> a big part was missing.

I gues you mean "missing in wintree", rather than "missing in the GEDCOM file".

If data was missing from the GEDCOM file, this would be a serious bug in webtrees. But the code that creates the export is very old, very simple, and very well-tested.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Modify GEDCOM in webtrees 2 weeks 4 days ago #4

  • kiwi
  • kiwi's Avatar
  • Offline
  • Platinum
  • Posts: 4926
smashcfr wrote:
Everything others have said is correct, but in addition, you need to be aware that the link you are using is less than ideal. It goes to GEDCOM version 5.3 (see user.it.uu.se/~andersa/gedcom/ ). webtrees uses version 5.5.1 as it's underlying base. So there are things that webtrees may do which do not agree with the version you are looking at, due to changes in version 5.4 and 5.5.0.

However, this is not the case with the FAM record. For additional clarification, the page you referred to has this comment:
Unless stated otherwise, the only ordering imposed on GEDCOM-lines within an enclosure arises when multiple opinions or other items are presented for which only one may be expected by a receiving system.

Later versions (or at least 5.5.1) has this instead:
The order in which GEDCOM lines are written to a GEDCOM file is controlled by the context
and level number. When the lines are of equal level number but have a different tag name then
the order is not significant. The occurrence of equal level numbers and equal tags within the
same context imply that multiple opinions or multiple values of the data exist. The significance of
the order in these cases is interpreted as the submitter's preference.

(Highlighting in both quotes is mine, for emphasis)

The correct GEDCOM reference is here: wiki.webtrees.net/w/images-en/Ged551-5.pdf
Nigel

www.our-families.info

Hosted at:
Follow me at:
Last Edit: 2 weeks 4 days ago by kiwi.
The administrator has disabled public write access.

Modify GEDCOM in webtrees 2 weeks 3 days ago #5

  • smashcfr
  • smashcfr's Avatar
  • Offline
  • New
  • Posts: 3
Hi,

Thank you for your answers, it helps me to understand (I am new to gedcom, even if I have been using webtrees for years...).
> a big part was missing.

I gues you mean "missing in wintree", rather than "missing in the GEDCOM file".

=> You are right, a big part of my tree !


I have now to find how to proceed, because :
- It seems that, as you said, Wintree is not dealing with version GEDCOM 5.5.1 (or not correctly)
- Herve DECROCK, who was editing Wintree, seems to be dead
- I wish to be able to see my whole tree (from my record, using direct-line ancestry), because it becomes difficult to see who are searched peoples, and webtrees seems to be limited to 8 levels.
The administrator has disabled public write access.

Modify GEDCOM in webtrees 2 weeks 3 days ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 10708
> and webtrees seems to be limited to 8 levels

These are temporary limitations, because these charts were written to work with old browsers.

Now that pretty much everyone uses a modern web-browser, we are free to rewrite these to use modern techniques.

It's on the list of things to do...
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Modify GEDCOM in webtrees 2 weeks 3 days ago #7

  • smashcfr
  • smashcfr's Avatar
  • Offline
  • New
  • Posts: 3
Thank you for this good news !

Because I just managed to have something in wintree but had to edit all families manually.
I just lost my eyes :p
The administrator has disabled public write access.
Powered by Kunena Forum