Data Import Common Parameters
In the data list of the Data Import dialog box, the parameters displayed on the right vary depending on the selected file. When multiple files are selected, the parameters that can be set are also different.
- If the user selects multiple vector datasets and raster datasets simultaneously in the list box, the Common Parameters for importing datasets are displayed in the parameters area.
- For vector data or raster data in different formats, the parameters that can be set in the Vector File Parameters or Raster File Parameters area also differ.
Common Parameters
- Target Datasource: Select the datasource where the imported file will be stored.
- If a non-read-only datasource is selected in the workspace before executing Data Import, the selected datasource is displayed here. If multiple non-read-only datasources are selected, the first one is displayed.
- If no datasource is selected in the workspace before executing Data Import, the first non-read-only datasource in the datasource collection is displayed.
- If no non-read-only datasource exists in the workspace, this field is displayed as empty.
- Group: Supports importing data into a specified group. The default is empty. When no group is selected, data is imported directly under the datasource.
- Result Dataset: The name of the new dataset after the original data is imported.
- Import Mode: The application provides three import modes for users to choose from: None, Overwrite, and Append.
- None: If there is a name conflict between the imported data and an existing dataset, the imported data will be automatically renamed and then imported.
- Overwrite: If there is a name conflict between the imported data and an existing dataset, the imported data will overwrite the existing dataset with the same name.
- Append: If there is a name conflict between the imported data and an existing dataset, the imported data will be appended to the existing dataset with the same name. The condition for appending is that the two datasets with the same name have identical types and structures; otherwise, the import fails, and the State property for that file in the list box will be Failed. For a detailed description of dataset appending, please refer to Dataset Append.
Note:- The results of the import mode differ slightly when importing vector and raster data. It is particularly emphasized that the Append and Overwrite modes are used when datasets with the same name exist. In practical operation, please use them appropriately.
- Encode Type: Specifies whether to save data in a compressed format to save disk space. The system default is Uncoded, meaning no compression is used. For more information on dataset encode types, please refer to: Dataset Compression Encode Type.
- For different types of datasets, the system will automatically determine their appropriate encode types and display them in the drop-down menu.
- For image and raster datasets, during import, the system determines the reasonable encode type based on their pixel format. If the encode type selected by the user does not reasonably match the pixel format type, the system will automatically correct it to a reasonable encode type when importing into the current datasource. The table below lists the reasonable encode types corresponding to different pixel formats for image and raster datasets.
Table: Image and Raster Dataset Encode Type Correction 
- Source File Info:
- Source File Path: The path where the source data to be imported is located. This allows users to copy the path and view the source data.
- Source File Character Set: Used to set the character set type of the source data. For a list of character sets supported by the application, please refer to Character Set List.
- Properties: Click the Properties button to view the attributes of the source file, facilitating users to check properties such as General, Security, Details, etc.
Note:- If the user selects multiple raster files or vector files simultaneously in the list box, the file parameters area in the Data Import region displays the parameter items according to the data format of the last selected file.
- If the user selects raster data and vector data simultaneously in the list box, the file parameters area in the Data Import region only displays the common parameters.
- If importing single-band raster data, the import modes None and Append have the same effect. That is, if there is a name conflict between the imported data and an existing dataset, the imported data will be automatically renamed and then imported.
- When importing RAW image files, the result type can only be imported as an Image dataset. Switching between Image dataset and Grid dataset is not supported.