vhclmaps contains a set of C++ classes for representing map databases (the Map library). The base classes are an abstraction of the structure of the Vector Product Format (VPF) that was used for the Digital Chart of the World (DCW). One set of derived classes was written to handle VPF, another for DLG (Digital Line Graph from the USGS). The abstract base classes in this library are:
This diagram illustrates the structure of a map database and the layers of the framework:
Individual map features are contained within a hierarchically structured set of collections. The collection at each level contains objects selected according to the various classification criteria: geometric shape, thematic type, and geographic location. Each collection provides methods to access its list of objects. Derived classes implement format-specific methods that obtain raw data to construct object instances.