This help file describes the programs and options that are installed by the Placename Format mod,
and are accessible through tabs in the Administration >> Places pages. The unifying feature of these utilities is the Placename Formatting process that
Makes sure that USA places are consistent in the way that they express the country, the state, and the county.
Knows state names and abbreviations,
Recognizes locales such as "East Texas", "Ohio or Kentucky", and "New England" that are not states, but that act like states in the place hierarchy.", which are not counties, but , "Merges redundant Placenames such as "Houston, TX", "Houston, Harris County, Texas, United States", "Houston, Harris, Texas", and so on,
Recognizes locales such as "Long Island" and "Shenandoah Valley" that are not counties (and shouldn't have the word "County" appended to them), but which act like counties in the place hierarchy, and
Recognizes funky census locations such as such as "Magisterial District 10", "Beat 5", "Civil District 8", etc., and deals with them appropriately.
In order for the formatting to work, the process has to know if a Placename is in the USA.
To do this, it looks at the last element (that is the last "comma-part") of the Placename, which must be either
A string that specifies the USA; i.e. "USA", "U.S.A.", "United States", etc.,
A USA state name or abbreviation (e.g. Alabama, AL, Texas, TX, etc.), or
Specified "non-states", or what I sometimes call "pseudo-states")
The notion of a non-state lets the Placename Formatting process recognize terms like "East Tennessee", "North Georgia", "New England", "Alabama or Mississippi", etc. as though they were real U.S. states.
The USA strings and the list of non-standard USA states are configurable options.
Significantly - although the Placename Formatting options and the PHP code that formats places are installed by the Placename Format mod,
as of early December, 2017, the Placename Formatting code is executed only through the Gedcom Converter, which is installed by the Gedcom Converter Mod.
This utility sets the place levels for USA places and for non-USA placenames that just consist of a country name.
On a kickoff form, you can tell it
Which tree to process (or all trees), and
What to do:
Calculate a Placelevel for all Places,
Process only Only Places whose Placelevel is not defined (i.e. is zero or null), or
Reset all Plavelevel values to zero
The USA placenames must be formatted according to the Placename Formatting options,
which control the way that Placenames express the country, the state,
and the county.
For instance, USA placenames must end with the representation of USA specified in the options,
and the state name for states with subordinate locales (e.g. a county or city) must be consistently either abbreviated or not,
as specified by another option.
Among non-USA placenames, if there is no comma in the placename, it is identified as a country.
But the Placelevels for all other non-USA placenames is left undefined.
The program displays a list of the non-USA places that it could not process,
and their current Placelevel.
Placename Formatting Options Utility at Admin >> Places >> Name Options
These options control:
The Placename Formatting process re-formats USA Placenames in a Gedcom file, during the Gedcom Conversion process.
Reformatted placenames are consistent in the way they express
The country (e.g. possibly always "USA" rather than a mix of "USA", "United States", etc.),
The state name or abbreviation, and
The county - particularly the "county designator" such as "County" or "Parish").
and the Place Level-assignment process for USA Placenames in the news- Place Level utility described above.
The Placename Formatting Options also
Specify substrings that identify burial places for use by the Admin>>Cemeteries and Admin>>Places,
Specify substrings that identify certain funky census places (such as "Civil District 10, Barr County, Ohio) that are not really towns, and that don't contribute to geocoding,
Specify other substrings that identify place-parts in placenames.
Assign place levels to USA Placenames in the Place Level utility described above, and
Note that (at least for now), the Placename Formatting process only affect USA places
The Placename Formatting Options are stored in the configuration file rrplacenameformat_config.php in the TNG extensions folder. They can be edited through the new "Format Options" tab at Admin>>Places, and as part of the Gedcom Converter kickoff form (i.e. the "Converter" tab under Admin>>Import/Export).
The options are broken out into three groups, and there are "Save Place Options" buttons at the top and the bottom of the form.