Create Datasource

Support the creation of three types of Datasource: File Database, Database-type Datasource and EMS Datasource. The default coordinate system of Create Datasource is China 2000, which can be modified in product package/configuration folder/Desktop. Parameter. XML DefaultPrjCoordSys epsgCode="4490"/> EpsgCode in the to customize the default coordinate system to suit you. Please refer to the Data source overview for the characteristics and applicable scenarios of each type of Datasource.

Create Datasource through the following function entry:

  • File tab-> New button-> Select Datasource Type
  • Start tab-> Datasource group-> File drop-down-> select Create File Datasource , Create Memory Data source or Create Data source from Template
  • Start Tab-> Datasource Group-> Database Drop Down-> Create Database Datasource
  • Workspace Manager Panel-> Datasource Node Context Menu-> Select the type of Create Datasource
Caution:

Create Datasource supports Set Password. You need to enter a password to open a Datasource with a password set in Workspace. If a Datasource with a password has been opened and saved in a Workspace, the Datasource can be used without entering the password when the Workspace is opened again.

Create File Datasource

Enter the above function entry Create File Database, and in the pop-up dialog box, set the Save path, file name and file type of Create Datasource to create the corresponding type of File Database. File Database can select either *.udb or *.udbx File Type.

Create Database Datasource

Currently supports new SQLPlus, Oracle Plus, Oracle Spatial, PostgreSQL, PostGIS, Yukon, MySQL, POLARDBGanos, GaussDB 200, DMPlus, KingBase, More than ten kinds of Database-type Datasource, such as HighGoDB, SHENTONG, Vastbase, Yashan, etc.

The creation of some Datasource Types requires the local configuration of the client, and the Parameter Settings of different database types are different. The parameter description, Parameter Settings, and precautions are the same as the Open Database Datasource .

Caution:
    When
  1. creating a PostGIS Database-type Datasource, you can specify an existing PostgreSQL Database Name to create a Datasource; You can also specify a new Database Name. When creating a Datasource, the corresponding PostgreSQL database is created before the Datasource. Only one PostGIS Database-type Datasource can be created for a PostgreSQL database.
  2. A user in the
  3. Oracle database can only correspond to one Datasource. If the user has an Existing data source, the Datasource cannot be created through the user, and a new user needs to be created manually in Oracle. Then create an Oracle Datasource from the new user.

Create Datasource from Template

Create from Template a Datasource that is the same as the Template Datasource, which is equivalent to copying a Template Datasource. The number, name, and type of Datasets in the Datasource are the same as those in the Template Datasource, but the Dataset only retains the same Table Structure, but the number of records is 0, that is, an empty Dataset that does not contain any object.

Currently, the Application provides two sets of templates: Geographic National Census and Basic Geographic Information Terrain Feature Classification. The user can also specify Other Datasource in Workspace as the template.

Related topics

Data source overview

Obtaining coordinate system by EPSG coding