On This Page
advertisement

Overview

The Flags section includes properties related to TMG flag values. The properties control how flags values are exported to the GEDCOM file.

For writing filters in TMG to GEDCOM, it's important to know that TMG to GEDCOM converts TMG flag value to Attributes. You must use the Attribute Text filter term to select people.

Also, TMG's Living flag is not converted to an Attribute. Use the Living or Deceased filter term to implement filters that vary based on TMG's Livng flag value.

Flags

The Flags property determines whether flag values are exported and, if so, the GEDCOM records used to export the values.

The LIVING flag is not affected by the Flags property. It is enabled or disabled using the Living Flag property described below.

The Flags choices are:

  • Export as FACT/TYPE – TMG flag values are exported using the GEDCOM FACT and TYPE records. This is the default.
  • Export as EVEN/TYPE – TMG flag values are exported using the GEDCOM EVEN and TYPE records.
  • Export as EVEN/TYPE/NOTE – TMG flag values are exported using the GEDCOM EVEN, TYPE, and NOTE records.
  • Do not export – TMG flag values are not exported.

FACT/TYPE Format

This choice will create a custom attribute with a text value. This will produce the best results in GEDCOM readers that support custom attributes.

GEDCOM record structure:

1 FACT flag-value
2 TYPE flag-name

Example:

1 FACT C
2 TYPE RelatedBy

EVEN/TYPE Format

This choice will create a custom event with a text value, sometimes called a Description by GEDCOM readers. When this approach works, the flag value is usually more prominent than when using the Export as EVEN/TYPE/NOTE choice.

Export as EVEN/TYPE is a good choice if Export as FACT/TYPE does not work, however, some GEDCOM readers will not allow a text value on the EVEN record, or may place constraints on that text. For those GEDCOM readers, you may be forced to use Export as EVEN/TYPE/NOTE.

GEDCOM record structure:

1 EVEN flag-value
2 TYPE flag-name

Example:

1 EVEN C
2 TYPE RelatedBy

EVEN/TYPE/NOTE Format

This choice will create a custom event with a Note value. This choice should be your last resort when/if the other choices do not work. This method will work in most GEDCOM readers, but the flag value will be somewhat hidden if the GEDCOM reader requires the user to click a button to show the Note value.

GEDCOM record structure:

1 EVEN
2 TYPE flag-name
2 NOTE flag-value

Example:

1 EVEN
2 TYPE RelatedBy
1 NOTE C

Flag Name Prefix

The Flag Name Prefix property sets a prefix to insert before the name of a flag in the GEDCOM TYPE tag. The default is no prefix.

If you have flag names that are the same as event names, using an un-prefixed value may lead to duplicate facts/events after importing the GEDCOM file. In that case, you may set a prefix such as "Flag-" to ensure that flag names are unique. Choose any value that will make your flag names unique.

If the Flag Name Prefix is set to "Flag-", the FACT and TYPE example above would be changed as follows:

1 FACT C
2 TYPE Flag-RelatedBy

Flag Value Prefix

The Flag Value Prefix property sets a prefix to insert before the value of a flag. The default is no prefix.

If Flags is set to Export as EVEN/TYPE and the Flag Value Prefix is set to "V:", an example for a custom "WebSite" flag with the value "Y" would be:

1 EVEN V:Y
2 TYPE WebSite

Omit Value 'N'

The Omit Value 'N' property determines whether a flag is exported when the value is equal to 'N'. The default value is unchecked.

Certain Standard Flags are not subject to the processing associated with this property.

Omit Value '?'

The Omit Value '?' property determines whether a flag is exported when the value is equal to '?'. The default value is unchecked.

Certain Standard Flags are not subject to the processing associated with this property.

Living Flag

The Living Flag property determines if TMG to GEDCOM writes the Living flag. The Living flag's inclusion is determined separately from other flags because it may be important to downstream privatization of the data.

The Living Flag choices are the same as the Flags choices described above.

When exported, the Living flag does not include the Flag Name Prefix. It does include the Flag Value Prefix.

Empty Death Event

The Empty Death Event property determines if TMG to GEDCOM writes an empty death event for people who do not have a primary Death event but whose TMG Living flag is "N". The default value is checked.

Compliant GEDCOM readers should interpret the empty death tag to mean that the person is deceased but the death details are unknown.

Example:

1 DEAT Y

Standard Flags

All TMG projects include several standard flags. TMG to GEDCOM gives those flags special treatment: those flag values are not exported when they are set to the default value.

  • For Adopted, Birth Order, and Multiple Birth, the flag is not exported if the value is "?".
  • For Ancestor Interest and Descendant Interest, the flag is not exported if the value is "0" (zero).