Feature Description
This function is used to import MapGIS plain text format data. MapGIS plain text format data consists of ASCII-encoded files with a structure containing two parts: file header and data area. In the MapGIS file system, project files (with *.MPJ extension) typically include point files (*.WT), line files (*.WL), polygon files (*.WP), and network files (*.WN).
Prior to import, MapGIS graphic files must be converted to MapGIS exchange file format (plain text format). After conversion, the four file types will have the following extensions: point plain text files (*.wat), line plain text files (*.wal), polygon plain text files (*.wap), and network plain text files (*.wan).
Additionally, you need to convert the color index table file to plain text format (with *.wat extension) in the MapGIS platform. Note: This *.wat file shares the same format as point plain text files but represents different content.
Feature Entry
- Start Tab -> Data Processing -> Data Import -> Vector Group -> MapGIS.
- Workspace Manager -> Datasource Context Menu -> Import Dataset....
- Toolbox -> Data Import -> MapGIS Tools: Import WAT, Import WAL, Import WAP, Import WAN.
Steps
- In the Data Import dialog box, click the Add File button on the toolbar to add *.wat, *.wan, *.wal, or *.wap format files. For adding methods, refer to Import Data.
- For parameter descriptions of Target Datasource, Result Dataset, Encode Type, Import Mode in Result Data, and Source File Info, see Common Parameters for Data Import.
- Result Data
- Dataset Type: Select either Simple Dataset or CAD Dataset for the imported data.
- CAD: Imports files as CAD datasets.
- Simple Dataset: Imports data files as simple datasets (point, line, polygon, text, or attribute datasets).
- Create Spatial Index: Check this option to create spatial indexes for datasets according to supported index types.
- Dataset Type: Select either Simple Dataset or CAD Dataset for the imported data.
- Transformation Parameters
- Color Index File: Specify the color index table file path (*.wat) for MapGIS data import. Default uses the built-in MapGISColor.wat file.
- Click the Import button to execute the import operation after completing settings.
Related Topics