fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
429 stars 294 forks source link

Custom tags for TNG #4862

Closed webtrees-pesz closed 5 months ago

webtrees-pesz commented 12 months ago

Please support following custom tags for TNG:

fisharebest commented 11 months ago

Is _PLAC a top-level object?

INDI.NAME.SOUR.QUAY - I think this is standard GEDCOM.

What values do we see in these tags? Keywords? Free text? Links?

webtrees-pesz commented 11 months ago

Hello Greg,

I found following in the TNG_Wiki:

Processing by TNG Here are some specific considerations that apply to TNG's handling of GEDCOM files.

Proprietary Tags Any proprietary event tag (e.g. _MILT for military events) can be treated as an event in TNG.

Other proprietary tags that are typically treated as "Pure Attributes" include:

_MREL and _FREL, which characterize the relationship (Natural, Adoptive, Foster, etc.) between a child and a parent. _PRIM means "Primary Multimedia Object", and is expected to be a level 2 tag that is subordinate to a level 1 Multimedia Object reference in an Individual record. It is used to designate one Multimedia Object as the primary photo for an Individual. _PHOTO is an alternate way to identify the primary photo for an Individual, and is not understood by TNG. _PHOTO tags needs to be converted to _PRIM tags. _LIVING designates an individual as living _PRIVATE designates an individual or family as private. See Desktop gotchas to read about GEDCOM quirks in some PC software packages, and the need to convert some GEDCOM files before they can be imported into TNG.

_PLAC is a top-level object like _LOC

fisharebest commented 11 months ago

_PLAC is a top-level object like _LOC

According to my notes, TNG _PLAC tags do not have an XREF, and so we cannot import them as records.

Instead, we just import the LAT/LONG into the the wt_place_location table.

I think we should be able to support the others.

arbor95 commented 5 months ago

Do we want an export for TNG and others?

fisharebest commented 5 months ago

We shouldn't export _PLAC records without an XREF, as this would be invalid GEDCOM.

But we should be able to recognise/display other custom tags. I will add definitions for the ones listed above.