Next / Previous / Contents / Shipman's homepage

11. class Loc: Locality code definition

An instance of this class represents the definition of a locality code used in a specific day-notes element. Public attributes include:


The locality code as a string.


The full name of the locality as a string.


The full description of the locality as a string, or None if there is no long description.

11.1. Loc.addGps(): Add a waypoint

To add a waypoint definition W (as an instance of Section 12, “class Gps: GPS waypoint”) to a Loc instance L: