Map template records parameter information such as map layer info, layer style, and thematic settings. In SuperMap, a map template is essentially an *.xml file that records map-related information. If the map uses non-system symbols, the map template also saves symbols from the map, allowing the symbols to be imported and applied together during next use. Users can obtain new maps by modifying based on the map template, making it convenient for users to quickly create maps based on templates.
SuperMap supports loading map templates for use in other maps, and also supports saving the settings of the current map as a template file, making it convenient to apply this information to other maps.
Load Map Template
Function Entry
- Workspace Manager-Map node context menu->Load Map Template.
Operation Steps
- Right-click the Map collection node in the workspace manager, select "Load Map Template" from the context menu, and the "Load Map Template" dialog box will pop up;
- Supports batch selection of map template files (*.xml). You can select multiple map templates simultaneously using the Shift or Ctrl key, making it convenient for users to quickly create maps in batches based on templates. If the template uses non-system symbols, importing the template file will import the required symbols for the map.
- When importing symbols, it will perform a duplicate symbol detection between the imported symbols and existing workspace symbols.If duplicate symbols are detected, a duplicate symbol dialog box will pop up.
- Symbol Matching Rules: Provides two options: Symbol ID and Symbol Style, with Symbol Style selected by default for matching.
- Symbol ID: Symbol ID is used to uniquely identify the symbol in the symbol library; in the same symbol library, the symbol IDs of different symbols cannot be the same.
- Symbol Style: Symbol style refers to the rendering content of the symbol, including geometric shape, size, color, and other attributes.
- Duplicate Symbol Information: Outputs duplicate symbol information, for example, "There are 3 symbols that duplicate existing symbols. Please handle the duplicate symbols:".
- Detailed Info: A detailed comparison information list of duplicate symbols, including imported symbol ID, imported symbol style, existing symbol ID, and existing symbol style content.
- Duplicate Symbol Retention Handling:
-
Retain Imported Symbol: Meaning the imported symbol replaces the existing symbol entirely.
-
Retain Existing Symbol: Meaning abandon the import and retain the existing symbol.
-
Select Symbols to Retain: Pops up the Select Symbols to Retain dialog box, allowing users to select which symbols to retain for each symbol by checking checkboxes.
-
If only the imported symbol option is checked, the imported symbol replaces the existing symbol.
-
If only the existing symbol option is checked, abandon the import and retain the existing symbol.
-
If both imported symbol and existing symbol options are checked, append the imported symbol to the symbol library.
-
-
-
Since workspace resources require unique symbol IDs, the program automatically handles ID conflicts based on user selection (as shown in the table below):
- Symbol Matching Rules: Provides two options: Symbol ID and Symbol Style, with Symbol Style selected by default for matching.
Matching Rule | Duplicate Handling Method | Symbol Handling | Symbol ID Change |
---|---|---|---|
Symbol Style | Retain Imported Symbol | Imported symbol replaces existing symbol |
|
Retain Existing Symbol | Abandon import and retain existing symbol |
|
|
Select Symbols to Retain | Append imported symbols to the symbol library |
|
|
Symbol ID | Retain Imported Symbol | Imported symbol replaces existing symbol |
|
Retain Existing Symbol | Abandon import and retain existing symbol |
|
|
Select Symbols to Retain | Append imported symbols to the symbol library |
|
Output Map Template
Function Entry
- Workspace Manager-Map node context menu->OutputMap Template.
Operation Steps
- Right-click the map node in the workspace manager, and select "Output Map Template" from the context menu.
- Right-click in the map, and select "Output as Map Template" from the context menu.
Related Topics