Filter:

Submit Search

## Configuring your populate mappings

Populate mappings define how features are added to the IN tables of a Comsof Fiber Integration Module workspace during the populate operation.

A mapping file contains 3 major sections:

- - The `process_ops` section contains the Comsof Fiber commands to be executed during the Pre-process step.

- - The `calculate_ops` section contains Comsof Fiber commands to be executed during the Calculate step.

  For more detailed information on the available Comsof Fiber commands, refer to the topic Comsof Fiber Commands in the Comsof Fiber Manual available through the Help page of Network Manager Telecom.

- The `mappings` section lists the features that can be retrieved from the Network Manager Telecom database when populating the workspace and defines how these features have to be mapped onto Comsof Fiber features.

  You must define at least one set of export mappings.

  Each set of export mappings is stored in a separate database setting. A simple example is shown below:

>     {

>       "name": "Addresses",

>       "description": "Populate Comsof input tables from address data",

>       "process_ops": [

>         "/streetDoubler",

>         "/createBuildingTrenches",

>         "/createTransitions",

>         "/createCrossings

>       ],

>       "calculate_ops": [

>         "/calculate"

>       ],

>       "mappings": [

>         {

>           "feature_type": "IN_DemandPoints",

>           "src_feature_type": "address",

>           "field_mappings": {

>             "demand": "1",

>             "include": "1",

>             "pon_homes": "1",

>             "geometries": "[location]"

>           }

>         },

>         {

>           "feature_type": "IN_StreetCenterLines",

>           "src_feature_type": "street",

>           "filter": "not [type] in ('cycleway','footway')",

>           "field_mappings": {

>             "include": "T",

>             "geometries": "[geometry]"

>           }

>         },

>         {

>           "feature_type": "IN_CentralOffice",

>           "src_feature_type": "building",

>           "filter": "[comsof_auto] <> true",

>           "field_mappings": {

>             "gistool_id": "building/[id]",

>             "include": "T",

>             "geometries": "[location]"

>           }

>         }

>     }

You can create your setting from scratch via the Advanced tab sheet on the Settingspage of the Configuration module. Alternatively, you can modify the example in:

>     <module>/models/example_mappings/comsof_populate.settings

An export setting for populating the Comsof workspace must have a name starting with the prefix comsof.populate_config.