Generic Mapping Files
The generic mapping files are useful for a “one-off” translation of a CCOGIF file to another format. It will translate all of the geometric entities in the file, along with their attributes, and perform simple polygon construction with the area entities. This sort of translation is useful to quickly determine what kind of data was stored in the CCOGIF file or to create a starting point for a hand-coded mapping file.
When a generic mapping file is used, an FME feature is generated for each geometric entity. The features generated have feature types of <groupName>_<themeIndex>, where <groupName> is the name of the data group that contains the entity and <themeIndex> is the position of the entity’s data theme within all of the group’s themes. Because the nature of CCOGIF makes it unlikely that two CCOGIF files could have the same group and theme structure, a mapping file generated from the contents of a given CCOGIF file should only be used to translate that file.