Create Spatial Type (Data Management Tools)
Summary
Adds the ST_Geometry SQL type, subtypes, and functions to an Oracle or a PostgreSQL database. This allows you to use the ST_Geometry SQL type to store geometries in a database that does not contain a geodatabase. You can also use this tool to upgrade the existing ST_Geometry type, subtypes, and functions in an Oracle or a PostgreSQL database.
Usage
This tool is supported in Oracle databases.
This tool is supported in PostgreSQL databases and geodatabases in PostgreSQL that were created to use PostGIS spatial types only.
This tool is not supported in database service offerings.
There are preparatory steps you must complete before you run the Create Spatial Type tool. For instructions on running this tool, including the preparatory steps, see the topic appropriate to your database management system:
For instructions to upgrade the ST_Geometry type, see either Upgrade the ST_Geometry type in an Oracle database or Upgrade the ST_Geometry type in a PostgreSQL database.
Parameters
| Label | Explanation | Data type |
|---|---|---|
|
Input Database Connection |
The input_database is the database connection file ( |
Workspace |
|
SDE User Password |
The password for the sde database user. If the sde user does not exist in the database, it will be created and will use the password you provide. The password policy of the underlying database will be enforced. If the sde user does exist in the database or database cluster, this password must match the existing password. |
Encrypted String |
|
Tablespace Name (Optional) |
The name of a tablespace that will be set as the default tablespace for the sde user in Oracle. If the tablespace name does not exist, it will be created in the Oracle default storage location. If a tablespace with the specified name does exist, it will be set as the sde user's default. |
String |
|
ST_Geometry Shape Library Path (Optional) |
The location on the Oracle server where the st_shape library resides. |
File |
Derived output
| Label | Explanation | Data type |
|---|---|---|
|
Output Workspace |
The updated database. |
Workspace |
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: No
- Standard: Yes
- Advanced: Yes