Setting up and installing Db2 Spatial Extender

You must set up and install Db2 Spatial Extender to create an environment that supports spatial operations.

Before you begin

Ensure that you meet the installation requirements for Db2 Spatial Extender and Db2 database products. If your system fails to meet any of the software prerequisites, the installation will fail.

About this task

A Db2 Spatial Extender environment consists of a server and a client.

A Db2 Spatial Extender server consists of a Db2 data server installation with the Db2 Spatial Extender software installed.

A Db2 Spatial Extender client consists of an IBM® data server client installation with the Db2 Spatial Extender software that is installed.

Databases that are enabled for spatial operations are in the server. They can be accessed from a client. Spatial data that resides in the databases can be accessed by using Db2 Spatial Extender stored procedures and spatial queries from the server or the client.

Also, generally part of a typical component of a Db2 Spatial Extender environment is a geobrowser. Although they are not required, they are useful to visually render the results of spatial queries, generally in the form of maps. A geobrowser is not included with a Db2 Spatial Extender installation. However, you can obtain the IBM Data Management Geobrowser for Db2 and Informix® to view spatial data.

Procedure

To set up and install Db2 Spatial Extender on a Db2 server or IBM data server client:

  1. Ensure that your system meets all software requirements.
  2. Install Db2 Spatial Extender by performing one of the following tasks:
    For installations using a response file, you must indicate the following keywords for Db2 server installation:
    INSTALL_TYPE=CUSTOM
    COMP=SPATIAL_EXTENDER_CLIENT_SUPPORT
    COMP=SPATIAL_EXTENDER_SERVER_SUPPORT
    You must indicate the following keywords for an IBM data server client installation:
    INSTALL_TYPE=CUSTOM
    COMP=SPATIAL_EXTENDER_CLIENT_SUPPORT
    You must indicate the following keywords for a Db2 pureScale Feature installation:
    INSTALL_TYPE = CUSTOM
    COMP = PURESCALE
  3. Create a Db2 instance if you do not already have one.
    Use the db2icrt command from a Db2 command window.
  4. Verify the Db2 Spatial Extender installation was successful by testing the Db2 Spatial Extender environment.
  5. Optional: Download and install the Data Management Geobrowser.