Create Dataset
Instructions for use
The Create Dataset function in SuperMap can create 14 types of Dataset, including point, line, surface, text, CAD, model, property sheet, 3D point, 3D line, 3D surface, grid, image, mosaic and video.
Function entrance
- Start tab-> Create Dataset group-> gallery control.
- Context Menu-> Create Dataset-> Dataset Type item of a Datasource in Workspace.
Hint:
- The gallery controls in the
- Create Dataset group are available only if there is a Datasource open in the currently open Works pace.
- According to the newly created Dataset Type selected, the Create Dataset list in the Create Dataset dialog displays the selected Dataset Type first. The Create Dataset dialog allows you to create multiple identical or different datasets at one time.
Operating instructions
Take creating a Region Dataset in the gallery control as an example. The operation steps are as follows:
- Click the Faces control in the Start-> Create Dataset group gallery container to pop up the Create Dataset dialog.
- Set the new Dataset Name, Target Datasource, Type and other information in the list of the dialog box.
- Target Data source: Used to set the target Datasource where the newly created Dataset is located. Its Drop-down Button menu lists the aliases of all open Datasources in the currently open Workspace, and you specify the Target Datasource where the newly created Dataset is located by selecting one of the Datasources.
- Type: defaults to the Dataset Type corresponding to the function control you initially clicked, which is the Face type in this case. You can use its Drop-down Button to re-select the type of Target Dataset.
- Dataset Name: is used to set the newly created Dataset Name, You can double-click the cell to rename it. For legal Dataset naming rules, see Dataset Set naming rules .
- Add to Map: is not added by default. You can select any of Not Add, New Map and Current Map (displayed when there is an open map in the Current Works pace) through the Drop-down Button. If New Map is selected, Dataset will be added to the new Map after Create Dataset; if Current Map is selected, Dataset will be added to the currently opened Map after Create Dataset.
- After setting the Parameters in the list, you can select Dataset Use Template on the right side of the dialog box to create it. The specific Parameter Description is as follows:
- No Template: Encode Type, character set and coordinate system of Dataset need to be set.
- Encode Type: This item can be set only when the newly created Dataset Type is Line or Region Dataset. The Encode Type of a Dataset is the compression Encode Type when the Dataset is stored. For details, see Dataset Compression Encode Type.
- Character set: Appropriate character set can be selected for the newly created Dataset. The character set defaults to ASCII (Default) for the normal version of the desktop product and to UTF-8 for the Unicode version of the desktop product. For the supported character sets and their descriptions, see: A list of character sets .
- Coordinate System Settings: Support for Create DatasetSet Coordinate System, introduction to Coordinate System Settings, See: Projection Settings .
- Use Template: After the Template Dataset is specified, The created DatasetTable Structure and most attributes are consistent with the Template Dataset, such as Projection, character set, value domain, and so on. Hint:
The newly created Dataset Bounds is 0, the Spatial Index is No Spatial Index, and the Object Count is zero.
- Storage mode: When the selected storage data source is MongoDB database Datasource, two Data Save modes, Supermap and Geojson, can be selected. Where Supermap is the Storage Format customized by Supermap; Geojson is the Spatial Data Storage Format of MongoDB.
- SmIDType: defaults to Int.
- No Template: Encode Type, character set and coordinate system of Dataset need to be set.
- After completing the Create Dataset settings, click the OK button at the bottom of the Create Dataset dialog to complete the Create Dataset operation.
Caution:
- If you select more than one Datasource in the Datasource node in Workspace Manager, click the button control in the Create Dataset group. The default Target Datasource is the top Datasource of the selected Datasource.
- Dataset naming convention:
- It is composed of
- Chinese characters, letters, numbers and underscores, but it cannot start with numbers and underscores.
- The length shall not be 0 and shall not exceed 59 characters, that is, 59 English letters or 59 Chinese characters. If the Dataset Name exceeds 59 characters, the excess is automatically truncated.
- No illegal characters, such as spaces, parentheses, etc.
- Cannot conflict with Reserved Fields for individual databases.
Related topics
List of reserved keywords for the database