Next / Previous / Contents / Shipman's homepage

14. class LocGroup: Inheritable locality data

There are three kinds of locality data that can be attached to records in this system:

An instance of LocGroup represents any combination of these three.

Public attributes of a LocGroup instance include:


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.


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.


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.