Importing and Exporting Line Symbol Library Files

Symbol Library Files

SuperMap provides files to save symbol libraries and symbols. A symbol library file corresponds to a library and saves the logical structure of the library. You can import a symbol library file into the symbol library selector and manage the symbols in the library with the selector. All changes to the library can be saved through saving the the library file.

  • Marker Symbol Library File: A file with the .sym extension which stores the marker symbol library and marker symbols.
  • Line Symbol Library File: A file with the .lsl extension which stores the line symbol library and line symbols.
  • Fill Symbol Library File: A file with the .bru extension which stores the fill symbol library and fill symbols.

Open Line Symbol Library File

By opening a symbol library file in the Symbol Library Selector, all symbols in the symbol library corresponding to the library file will be loaded to the selector.

The Symbol Library Selector can only mange one symbol library at a time.

  1. In the Symbol Library Manger, click File, and click Open Line Symbol Library File in the context menu.
  2. In the Open dialog box, select the symbol library you want to open. When you click Open, the currently opened symbol library will be closed and the selected symbol library will be opened, with all symbols in the selected symbol library loaded into the selector.

Note that in the Line Symbol Selector, the original line symbol library will be closed if you open another one. If not saved as a library file or with the workspace, the original symbol library will be lost. If you open a workspace and its associated line symbol library, then you open another line symbol library and you don’t save the workspace afterwards. The next time when you open the workspace and its line symbol library, you will find it is the original symbol library when the workspace was last saved.

Load Default Line Symbol Library

SuperMap provides a default line symbol library, which can satisfy the general needs for line symbols and based on which you can extend the line symbol resources. In the Line Symbol Selector, you can change the currently open symbol library through opening an external symbol library file, importing a symbol library, importing symbols, or creating new symbols. If you want to display the default line symbol library in the Line Symbol Selector, use the Load Default Line Symbol Library command.

  1. In the Symbol Library Manger, click File, and click Load Default Line Symbol Library in the context menu.
  2. In the Load Default Symbol Library dialog box that shows up, you need to choose what you want to do:
  3. To close the currently open symbol library and load the default line symbol library, click Yes. Note that if you click Yes to load the default line symbol library when the workspace with which the original symbol library is associated is open, and after that, you save the workspace. The line symbol library associated with the workspace will be replaced by the default line symbol library, with the original one lost. Therefore, you need to take care when using this command. If you restored the line symbol library through the Load Default Line Symbol Library command, and after that, you didn’t save the workspace. The next time when you open the workspace, the original line symbol library associated with the workspace would be still there.
  4. If you want to load the default line symbol library to the currently open symbol library as a symbol group, click No in the Load Default Symbol Library dialog box. The default symbol library will be then loaded as a subgroup named “Default” under the root group of the currently open symbol library, with its original group structure maintained.
  5. To cancel the operation of loading the default line symbol library, click Cancel to do nothing and close the Load Default Symbol Library dialog box.

Import Line Symbol Library

The Import Line Symbol Library command will import the symbols in a symbol library file to the currently open symbol library as a subgroup under the root group, with its original group structure maintained.

  1. In the Symbol Library Manger, click File, point to Import, and click Import Line Symbol Library.
  2. In the Import Line Symbol Library dialog box that shows up, click the symbol library file you want to import, and click Open.

A subgroup named “the imported file name; will be appended to the subgroups of the Root Group of the currently open symbol library.

Besides, you can import fill symbol library through the Import command in the context menu of the Root Group node in the Path dropdown list.

Export Symbol Library…

The Export Line Symbol Library command will export the currently open line symbol library or a subgroup of the current symbol library as a new symbol library, with the original group structure maintained.

Export Group as Line Symbol Library

  1. In the Symbol Library Manger, click File, point to Export, and click Export Line Symbol Library.
  2. The Export Line Symbol Library shows up, navigate to the location where you want to save the library file, enter a name, and then click Save.

The line symbol library will be saved as a line symbol file of the version of SuperMap GIS 8C with the .lsl file extension, which will not be able to be opened with SuperMap products of earlier versions.

Export as SuperMap 5 Line Symbol Library

If you want to open the line symbol library exported in SuperMap products of earlier versions, you can save the symbol library as SuperMap 5 line symbol library following the steps below:

  1. In the Symbol Library Manger, click File, point to Export, and click Export as SuperMap 5 Line Symbol Library.
  2. In the Warning dialog box, you will be asked whether you want to continue the export if certain properties of the symbols might be lost if you save it as SuperMap 5 line symbol library. To continue, click Yes; otherwise, click No.
  3. If you click Yes, the Export as SuperMap 5 Line Symbol Library dialog box will show up, navigate to the location where you want to save the library file, enter a name, and then click Save.

The line symbol library will be saved as a line symbol file with the .lsl file extension, which will be able to be opened with SuperMap products of earlier versions.

Besides, you can export line symbol library through the Export command in the context menu of the Root Group node in the Path dropdown list.

Through this way, you can only export the line symbol library as SuperMap 6R line symbol library file.

Export Group as Line Symbol Library

  1. Right click the symbol group you want to export in the symbol group tree.
  2. Click Export in the context menu that appears.
  3. The Export Line Symbol Library shows up, navigate to the location where you want to save the library file, enter a name, and then click Save. Here, you can only export the symbols as SuperMap 6R line symbol library.

Export Line Symbols as Line Library

  1. When you select symbols in the symbol pane to export, you can click while holding down Ctrl to select more than one symbol at a time.
  2. Right click on any of the selected symbols, click Export as Line Library in the context menu that shows up.
  3. The Export Line Symbol Library shows up, navigate to the location where you want to save the library file, enter a name, and then click Save. Here, you can only export the symbols as SuperMap 6R line symbol library.