There are three kinds of locality data that can be attached to records in this system:
A locality code, as defined in a loc
element.
A GPS waypoint as a lat-lon string.
A general description of the location from a loc-detail element.
An instance of LocGroup represents any
combination of these three.
Public attributes of a LocGroup instance include:
.loc
If this group is referred to specific locality code,
this attribute contains the definition of the code as
an instance of Section 11, “class Loc: Locality code definition”,
otherwise None.
.gps
If the group is referred to a waypoint, this
attribute contains the lat-lon as a string, in the
same format as the waypoint attribute
defined in Section 12, “class Gps: GPS waypoint”, otherwise
None.
.locDetail
If there is a narrative description of the locality,
this attribute contains that description as an
instance of Section 19, “class Narrative: General container for
narrative”, else
None.