Import GeoJSON
Instructions for use
Import GeoJSON
Parameter description
| Parameter Name | parameter interpretation | parameter type |
|---|---|---|
| select file | The path information of the data to be imported. | String |
| Character Set | The character set type of the file to be imported. The default is UTF-8. | Charset |
| result datasource | Specifies the datasource where the result dataset is stored. | Datasource |
| result dataset | Specifies the resulting dataset name. When importing as a simple dataset, corresponding datasets are automatically created based on the geometry type in the GeoJSON file. If the file contains multiple geometry types (e.g., points, lines, and regions), multiple datasets are generated according to the following rules: point dataset naming rule: original file name + "_p" (e.g., test_p); line dataset naming rule: original file name + "_l" (e.g., test_l); region dataset naming rule: original file name + "_r" (e.g., test_r). | String |
| Group | Supports importing data into a specified group. If no group is selected, data is imported under the datasource. | String |
| encode type | The encoding type of the dataset to be generated. | EncodeType |
| import schema | Sets the import mode when a dataset with the same name exists. | ImportMode |
| dataset type | Selects the type of dataset after import. Supports importing as CAD Dataset and simple dataset. The default is simple dataset. | Boolean |
| import null dataset | Check this checkbox. If the import dataset is an empty dataset, an empty dataset with no objects is imported by default. Otherwise, the program will prompt that the import failed. | Boolean |
Output Result
| Parameter Name | parameter interpretation | parameter type |
|---|---|---|
| result dataset | result dataset | DatasetVector |