Spatial Studio Connections Page

The Connections page displays all the existing connections and also allows you to create a new connection.

The following figure shows a layout of the Connections page:

Description of the illustration create_connection.png

You can perform the following actions on the Connections page:

Creating an Oracle Database Connection

You can create a Spatial Studio connection to any Oracle Database schema.

You can perform the following steps to setup a connection to the database:

  1. Navigate to the Connections page.

  2. Click Create Connection.

    The Create Connection dialog opens.

  3. Select Oracle Database as the connection type and click Next.

    The Create Connection dialog open as shown:

    Description of the illustration create_db_conn.png

  4. Enter the Spatial Studio connection Name.

  5. Optionally, enter a Description.

  6. Select the database Connection type.

    The supported types are:

    • Service

    • SID

  7. Enter the Service/SID value depending on your connection type.

  8. Enter the database User name and the Password for the user.

    Note that when the database user password expires, Spatial Studio will prompt you to reestablish the schema connection. Then the Create Connection dialog is displayed with prefilled metadata schema details.

  9. Enter the Host and Port details.

  10. Click OK.

    The Oracle Database connection gets created. This database type connection is displayed on the Connections page.

Creating a Connection to an Autonomous AI Database Instance

You can create a Spatial Studio connection to an Autonomous AI Database instance.

  1. Navigate to the Connections page.

  2. Click Create Connection.

    The Create Connection dialog opens.

  3. Select Oracle Autonomous Database as the connection type and click Next.

    The Select ADB authentication type dialog opens.

  4. Select an authentication type as desired and click OK.

    Depending on your choice, perform one of the following to create a custom connection to your Autonomous AI Database instance:

Using a Wallet-Based mTLS Connection

You can create a Spatial Studio connection to an Autonomous AI Database instance using a wallet-based mutual Transport Layer Security (mTLS) authentication.

Before you begin, ensure you meet the following prerequisites:

You can then continue to perform the following steps to set up a cloud connection to your Autonomous AI Database instance using the downloaded wallet.

  1. Drag and drop your saved wallet file or click to upload the wallet from your system in the Upload wallet dialog.

  2. Click OK.

    The Create Connection dialog opens as shown:

    Description of the illustration wallet_based_conn.png

  3. Optionally, change the default Spatial Studio connection Name.

  4. Optionally, enter a Description.

  5. Enter the Autonomous AI Database User name and the Password for the user.

  6. Select the appropriate Service from the drop-down list.

  7. Optionally, enter the Proxy Host and Proxy Port details.

  8. Click OK.

    The connection to the Autonomous AI Database instance gets created and is displayed on the Connections page.

Using a Walletless TLS Connection

You can create a Spatial Studio connection to an Autonomous AI Database instance using a walletless Transport Layer Security (TLS) authentication.

Before you begin, ensure you meet the following prerequisites:

You can then continue to perform the following steps to set up a cloud connection to your Autonomous AI Database instance in the Create Connection dialog.

Description of the illustration walletless_conn.png

  1. Optionally, change the default Spatial Studio connection Name.

  2. Optionally, enter a Description.

  3. Enter the Connection string obtained at the beginning of the section.

  4. Enter the Autonomous AI Database User name and the Password for the user.

  5. Optionally, enter the Proxy Host and Proxy Port details.

  6. Click OK.

    The connection to the Autonomous AI Database instance gets created and is displayed on the Connections page.

Creating an OGC WMS Connection

You can create a new connection to an external OGC (Open Geospatial Consortium) WMS (Web Map Service) service.

This enables you to create an OGC WMS dataset which can be used in map visualizations.

Note that a WMS service or server typically offers many individual map layers that can be combined in different orders. The full list of available map layers, as well as many other important supported functionalities are all advertised by the WMS server through a standard WMS GetCapabilities response.

When you create a new WMS connection, Spatial Studio will be querying such capabilities against the external WMS server using the standard GetCapabilities call. Based on the result of such a query, you will later be able to choose the required WMS map layers that must be included when creating a new Spatial Studio WMS dataset.

Prior to creating a WMS connection, if the Spatial Studio server is running behind a fire wall, then you must configure the Web Proxy using the General panel in the Console page. This is to enable Spatial Studio to access the WMS server (which can either be running on the same data center or remotely) from the server side.

You can perform the following steps to create an OGC WMS connection:

  1. Navigate to the Connections page.

  2. Click Create Connection.

    The Create Connection dialog opens.

  3. Select OGC Web Map Service as the connection type and click Next.

    The Create Connection dialog open as shown:

    Description of the illustration create_ogc_wms_conn.png

  4. Enter the connection Name.

  5. Optionally, enter a Description.

  6. Enter the WMS URL to connect to the WMS service.

    Also, note the following:

    • Ensure that the WMS URL is added to the Safe Domains list.

    • You can use one of the following two formats for the WMS URL:

      • A complete GetCapabilities request, including the version of the WMS specification (1.3.0 is recommended). For instance:

        https://nowcoast.noaa.gov/geoserver/observations/weather_radar/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities

      • The base URL of the WMS server. For instance:

        https://nowcoast.noaa.gov/geoserver/observations/weather_radar/ows

  7. Optionally, select the WMS VERSION.

  8. Click OK.

    The OGC WMS connection gets created. This wms type connection is displayed on the Connections page.

    Also, the new WMS connection stores the names of all the available map layers (hosted by the WMS service) and a host of other information based on the GetCapabilities response as a part of its metadata.

  9. Right-click on the newly created connection, select Test connection, and verify that the connection tests successfully.

Related Topics

Migrating Database Connections

You can migrate your connections in Spatial Studio between on-premises and cloud database environments.

It is possible that you may want to migrate data from your on-premises database to an Autonomous AI Database instance or the other way around. In such scenarios, you can also migrate the Spatial Studio connection related to the data to the new target data source. Thus, Spatial Studio allows you to continue working with the datasets that were created using the earlier connection properties, without rendering them invalid.

You can perform the following steps to migrate a database connection.

  1. Navigate to the Connections page.

  2. Right-click on the required connection Name.

    The context menu for the database connection appears as shown:

    Description of the illustration migrate_connection.png

  3. Click Migrate.

    Migrate Database Connection is displayed as shown:

    Description of the illustration migrate_db_source.png

    Note that in the preceding image, the target environment for migration may vary depending on the current source of the database connection. You can perform the following steps to configure the target environment that applies to you:

    • Migrating from On-Premises Database to Oracle Autonomous AI Database:
      1. Click Next and provide the Upload Wallet details.

      2. Click OK and provide the database connection details.

    • Migrating from Oracle Autonomous AI Database to On-Premises Database:
      1. Click Next and provide the database connection details.

      2. Click OK.

    The connection gets updated to the new data source.