Feature Description
Master-Slave is used to express hierarchical relationships among chart objects. For example, a lighted buoy can be set as the main object, while its topmark, light rhythm, and fog signal can be configured as subordinate objects. Each master-slave must have one main object and at least one subordinate object, but may contain multiple subordinates.
The master-slave configuration explicitly defines hierarchical relationships between objects, enhancing both data management accuracy and expression clarity. For instance, establishing a navigation aid as the main object with associated signs and lights as subordinates clearly demonstrates the hierarchical structure, improving data management precision.
Steps
This example demonstrates creating master-slave relationship using a lateral buoy as the main object and light objects as subordinates:
- Data preparation:
- Open workspace Chart.swmu from SampleData\ApplicationMap\Chart in SuperMap sample data. Convert the non-editable group GB4X0000_52000 in Chart datasource to an editable group, obtaining GB4X0000 group.
- Double-click to load editable chart group GB4X0000 onto the map, set display type to Standard and Chart Symbology.
- Remove existing master-slave group:
- Chart Tab -> Relationship Management group -> Click Master-Slave Relation button to open Master-Slave Relationship Management panel. The panel contains main object list (upper) and subordinate object list (lower).
-
Locate lateral buoy (BOYLAT) with Feature Object Identifier (FOID) GB000000015200001 in main object list, click Remove Main Object on toolbar.
- Add main object:
- Add the selected objects from map: Select lateral buoy (BOYLAT) on map as shown, click Add Main Object from Map. The Add the selected objects from map dialog will only list S-57 compliant candidates. Add BOYLAT with FOID GB000000015200001 as main object.
- Add from dataset: Alternatively, click Add Main Object from Dataset, locate BOYLAT_P object in Add from dataset dialog, then add the lateral buoy with FOID GB000000015200001.
- Add the selected objects from map: Select lateral buoy (BOYLAT) on map as shown, click Add Main Object from Map. The Add the selected objects from map dialog will only list S-57 compliant candidates. Add BOYLAT with FOID GB000000015200001 as main object.
- Add subordinate objects:
- Add the selected objects from map: Keep current map selection, click Add Subordinate Objects from Map. In dialog, select light object (LIGHTS) with FOID GB000000120300001 and topmark (TOPMAR) with FOID GB000000197200001 as subordinates. Multiple subordinates can be added.
- Add from dataset: Use Add Subordinate Objects from Dataset button to select these objects from feature object dataset in Add from dataset dialog.
- Confirm master-slave: Click Apply to complete relationship setup. Results can be reviewed in panel.

The main object cannot have existing master-slave relationships, and selected subordinates must not belong to other main objects. Otherwise creation will fail.
Related Topics
Build Master-slave Relationships in Batches