Selecting or creating coordinate systems

One of the first steps in planning a project is to determine what coordinate system to use.

Before you begin

Before you create a coordinate system, your user ID must have either SYSADM or DBADM authority on the database that contains the spatial catalog tables.

About this task

After you enable the Db2® subsystem for spatial operations, you are ready to plan projects that use spatial data. You can use a coordinate system that is included with IBM® Spatial Support for Db2 for z/OS® or one that was created elsewhere. Many coordinate systems are included with IBM Spatial Support for Db2 for z/OS.

To find out about these coordinate systems, and to determine what other coordinate systems are included with IBM Spatial Support for Db2 for z/OS, and what (if any) coordinate systems have been created by other users, consult the DB2GSE.ST_COORDINATE_SYSTEMS catalog view.

Procedure

To create a coordinate system:

Run an application that invokes the ST_create_coordsys stored procedure.
For more information about this stored procedure, see ST_create_coordsys.