Spatial Studio Console Page

You can monitor the status and activity of Spatial Studio in the Console Page. You can also view server logs, change global system configurations, manage custom basemaps, and configure safe domains.

The Console menu link directs you to the Console page.

Note: If you are logged in as an administrator of Spatial Studio, then you can access all the supported Console menu options. Otherwise, you can access only Map symbols, Access Tokens, and Session info.

The layout of the Console page is as shown:

Description of the illustration admin_page.png

The Spatial Studio console page comprises of the following sections:

Settings

Note: Each listed host entry for Basemaps and 3D Scene basemaps must be present as one of the entries in the Safe Domains list. If the host basemap comes from a domain that is not present in the Safe Domains list, then the basemap may not render correctly when visualizing the map.

Security

Maintenance

Monitoring

In a cluster deployment, both the preceding options display only the information of the particular Spatial Studio instance to which the current session is connected.

Configuring Custom Branding

As a Spatial Studio administrator, you can use the Brand Manager feature in Spatial Studio to upload your brand logo and change the application title as desired.

The following steps enable you to configure custom branding.

  1. Navigate to the Console page.

  2. Click General under Settings.

    The Brand Manager slider opens as shown.

    Description of the illustration custom_branding.png

  3. Select Custom from the Banner style drop-down list.

    The following two banner styles are supported:

    • Default: This is the default configuration which uses Oracle branding.

    • Custom: Custom configuration allows you to apply your organization’s branding.

  4. Change the Application title as desired.

    The default value is Spatial Studio.

  5. Upload your own Application logo.

  6. Enter your Application logo name.

  7. Preview your changes and click Save Changes.

    Note that you need to refresh your page to see the custom brand changes.

Configuring Zip Upload Settings

Spatial Studio allows you to create datasets by uploading zip files. As a Spatial Studio administrator, you can set the size limits for these zip files.

Perform the following steps, to change the zip upload settings.

  1. Navigate to the Console page.

  2. Click General under Settings.

    The General slider opens.

  3. Click the Advanced Settings collapse icon to open the Zip Upload Settings as shown:

    Description of the illustration zip_settings.png

  4. Change any of the following default configuration options as required.

    • Maximum inflate multiplier: Maximum allowed multiplier when inflating files.

    • Maximum unzipped item size (MB): Maximum size for an item in the zip file.

    • Maximum unzipped total size (MB): Maximum size of the zip file (with all the entries unzipped to the disk).

  5. Click Save Changes.

Configuring Web Proxy

If the Spatial Studio server is running behind a fire wall, then you can configure a web proxy server in your web application.

Note that the web proxy settings only affect the backend Java server when it needs to access an external service or data source through HTTP. One such example is the Oracle Maps cloud services used to geocode the addresses in a dataset. If Spatial Studio is running behind a firewall then the web proxy settings will be used to access the Oracle Maps services which run on the public internet.

Perform the following steps to configure a web proxy server.

  1. Navigate to the Console page.

  2. Click Proxy under Settings.

    The Proxy slider opens as shown:

    Description of the illustration proxy.png

  3. Switch ON the Use Proxy slider.

  4. Enter the Proxy Server details.

  5. Enter the Proxy Server Port.

  6. Optionally, enter the Non-Proxy Hosts.

  7. Optionally, switch ON the Proxy Requires Login toggle if it applies and provide the Proxy User Name/Proxy User Password credentials.

  8. Click Save Changes.

Configuring Service URLs

In order to perform geocoding and routing tasks, you can configure the URL for these services in Spatial Studio if you are an administrator user. You can choose to replace the default URLs with your own service URLs.

  1. Navigate to the Console page.

  2. Click Services under Settings.

    The Services slider opens as shown:

    Description of the illustration services.png

    The default geocoding and routing service URLs are as shown in the preceding figure.

  3. Optionally, change the default URLs for any of the following services as required.

    Geocoding Service

    1. Click the Geocoding Service drop-down and select Custom.

    2. Enter your own Geocoding Service URL.

    3. Change Geocoding Batch Size if required.

    4. Click Test to verify your connection.

    Routing Service

    1. Click the Routing Service drop-down and select Custom.

    2. Enter your own Routing Service URL.

    3. Click Test to verify your connection.

  4. Click Save Changes.

Uploading a Map Symbol

You can upload custom map symbols (or icons) and also 3D models (in .glb format), which you can use in a Map or 3D Scene visualization. Starting from Spatial Studio Release 24.1, in addition to administrators, all valid Spatial Studio users can also upload and manage their own custom map symbols.

Also, note the following:

The following steps enable you to add a custom map symbol in Spatial Studio.

  1. Navigate to the Console page.

  2. Click Map symbols under Settings.

    The Map symbols slider opens as shown.

    Description of the illustration upload_map_symbol.png

  3. Click the Custom symbols collapse icon and click Upload symbol.

  4. Select the required image file in your system for the upload.

    It is important to note the following:

    • Only .png, .gif, .jpg, and .glb file formats are supported.

    • Each file cannot exceed 2 MB in size.

  5. Optionally, change the Symbol name.

  6. Click submit_icon to add the custom map symbol.

    Once it is uploaded, you can style your data points on a map visualization using the new symbol. See Applying Custom Map Symbols to a Map Layer for more information.

Managing Safe Domains

Spatial Studio allows users to define custom basemaps, connect to external WMS services, and import datasets such as GeoJSON or imagery data from external URLs. In all of these scenarios, Spatial Studio must establish HTTP connections to external resources.

Before Spatial Studio can make such connections, an administrator must add the service or dataset domain (or specific URL) to the Safe Domains allowlist and assign the appropriate Content Security Policy (CSP) directives for each entry.

Note: If you make any changes to the safe domains list, then it is important that you refresh or reload the browser page to reload the new Content Security Policy.

  1. Navigate to the Console page.

  2. Click Safe Domains under Settings.

    The list of safe domains to which Spatial Studio has access is displayed as shown:

    Description of the illustration safe_domains.png

    You can view the domain details by clicking on a domain in Domain list.

    You can choose to perform one of the following actions:

    • Adding a safe domain
      1. Click Add domain.

        A New domain row gets added at the beginning of the safe Domain list.

      2. Enter the Domain name under Domain details.

        Ensure that you enter a valid domain or URL from which resources will be fetched. Examples include:

        • https://wms.mycompany.com:8080

        • https://wms.mycompany.com/wms/version_1.0.3/

        • https://wms.mycompany.com

        If the URL includes a path after the domain, such as /wms/version_1.0.3/, its interpretation depends on whether it ends with a trailing slash:

        • Trailing slash ( / ) present: The URL is treated as a folder. Studio will allow access to all resources nested under the folder as safe to access.

        • No trailing slash: The URL is treated as a single resource. Only requests that exactly match this URL will be considered safe.

        Note that the protocol is a part of the domain and should be based on the URL of the remote service. For instance, if you defined a WMS data source or a custom base map in Spatial Studio, and the URL to the WMS server or the custom base map’s tile server starts with https://, then you must use https://. If it starts with http://, then use http://. In case if both the protocols are used (maybe one is used to fetch some resources while the other is used for a different type of resource), then you need to add the domain twice, one with the http:// protocol and another with the https:// protocol. Spatial Studio performs safe domain validation strictly based on the value you added to the list.

      3. Select the appropriate check boxes for the new domain.

        The check boxes represent Content Security Policy fetch directives.

        • Connect: This corresponds to the CSP connect-src directive, and indicates whether Spatial Studio is allowed to interact with the domain via script interface (such as AJAX calls).

        • Image: this corresponds to the CSP img-src directive, and indicates whether Spatial Studio is allowed to fetch images from the domain.

        • Script: this corresponds to the CSP script-src directive, and indicates whether Spatial Studio is allowed to import or load scripts hosted by the specified domain.

        • Font: this corresponds to the CSP font-src directive, and indicates whether Spatial Studio is allowed to load font data from the specified domain.

        • CSS Style: this corresponds to the CSP style-src directive, and indicates whether Spatial Studio is allowed to load stylesheet from the specified domain.

        It is important to understand what type of resources you will be fetching from the specific domain. For instance, if you select the check box Script, then it implies that you are enabling your browser to fetch Java Script type resources from the domain.

        In case if you are adding a safe domain for a WMS data source, then you likely need to enable the following check boxes:

        • Connect: This is required because Spatial Studio needs to interact with a remote WMS data source to check its capabilities using AJAX calls.

        • Image: This is needed because eventually Spatial Studio needs to fetch individual WMS map images from the remote WMS server.

        Note that when a check box is selected, the domain URL gets added to a list of all the allowed URLs for the corresponding CSP directive. For instance, consider that the domain https://www.mycompany.com is added as a safe domain with the Connect check box selected. Then, when you reload Spatial Studio, the CSP header loaded by the browser will now include https://www.mycompany.com in its connect-src directive’s list of domain values.

      4. Click Save Changes.

      5. Refresh or reload the browser page.

    • Editing a safe domain

      • Click the safe domain that you want to edit.

        The current configuration is displayed under Domain details.

      • Modify the required domain settings.

      • Click Save Changes.

      • Refresh or reload the browser page.

    • Deleting a safe domain

      • Click on the safe domain that you wish to edit.

        The domain configuration is displayed under Domain details.

      • Click Delete and confirm delete by clicking OK.

      • Click Save Changes.

      • Refresh or reload the browser page.

Adding a Custom Basemap

The following steps enable you to add a custom basemap.

  1. Navigate to the Console page.

  2. Click Basemaps under Settings.

    The Basemaps window listing all the available basemaps opens.

  3. Click Add Basemap and click on one of the following basemap types:

    • XYZ Raster tiles

    • OGC WMS

    • Vector tiles

  4. Enter Name and URL for the selected basemap type.

  5. Optionally enter Attribution and API Key.

    Tip: Once you have entered all the required fields, you can preview the basemap by clicking Quick View.

  6. Click Save to add the base map.

    For example, the following figure show the OGC WMS basemap configuration window:

    Description of the illustration wms_ogc.png

    Note: It is important to add the domain name to Safe Domains in order to enable the Spatial Studio application to access the required service for the basemap.

Editing a Custom Basemap

The following steps enable you to edit a custom basemap.

  1. Navigate to the Console page.

  2. Click Basemaps under Settings.

    The Basemaps window listing all the available basemaps opens.

  3. Click additional_options_icon against the required custom basemap and click Edit from the context menu.

    Note: Edit is disabled for predefined Spatial Studio maps.

    The custom basemap configuration details are displayed for editing as shown:

    Description of the illustration edit_custom_basemap.png

  4. Modify the required parameters, such as Name, Attribution, URL or API Key.

  5. Click Save.

    The custom basemap details are modified and the updates are shown in the Basemaps window.

Managing System Notifications

As the Spatial Studio administrator, you can create, edit, or delete system notifications.

Spatial Studio supports two types of notifications:

You can manage the system notifications as shown in the following steps:

  1. Navigate to the Console page.

  2. Click Notifications under Maintenance.

    The Notifications window listing all the configured notifications opens.

    Description of the illustration sys_notifications.png

  3. Perform any one of the following required actions.

    • Create a New Notification

      1. Click Create.

      2. Select the Notification Type.

      3. Enter Severity, Expiration Date (in UTC), and Message for banner notifications.

      4. Enter Title, Expiration Date (in UTC), and Message for show stopper notifications.

      5. Click OK.

      The new notification appears in the Notifications dialog.

    • Edit a Notification

      Click edit_icon against a notification to edit the message details.

    • Delete a Notification

      Click delete_icon against a notification to delete the notification.

Viewing and Managing Server Logs

You can always view the most recent log messages generated by the server in your Spatial Studio application.

Perform the following steps to view and manage these server logs.

  1. Navigate to the Console page.

  2. Click Service Logs under Monitoring.

    The Service Logs slider opens as shown.

    Description of the illustration service_logs.png

  3. Optionally, configure any of the following fields to customize the logs that are fetched from the server.

    • Total entries: This limits how many log messages or records will be loaded from the server.

    • Crop entries: If switched ON, then any log message with a very long string will be cropped when viewed.

    • Entries’ length: This determines the crop length.

    • Filter by log level: This drop-down list allows you to filter the server logs so that only those logged at the selected level or higher (more severe in nature) will be fetched from the server for display.

      The supported log levels are:

      • ERROR

      • WARN

      • INFO

      • DEBUG

      • TRACE

    • Load Logs: Click this button to reload the logs from the server when you change any of the preceding configurations.

  4. Optionally, click Change Logging Level to change the server’s logging level.

    Change Logging Level window opens as shown.

    Description of the illustration change_log_level.png

    The Change Logging Level button allows the administrator user to dynamically change the logging level used by the server without restarting it.

    Sometimes it may become necessary to change the logging level, so that the Spatial Studio server can log more or less messages, or generate DEBUG or TRACE level messages for a specific functional area in order to diagnose a certain issue. By default, Spatial Studio uses the INFO log level, which means only log messages generated at the level INFO, WARN, or ERROR will be written to the log file (default location is <OS_USER_HOME_DIR>/.sgtech/logs/sgtech.log).

    1. Optionally, change any of the following configuration.

      • Package name: This specifies the area of the server that will be affected by the new logging level. If you specify ROOT (the default value), then the new logging level will affect all areas or functions of the Spatial Studio server. However, you can also enter a specific Java package name (maybe based on suggestions from your Oracle Support team), such as oracle.sgtech.jee.api when debugging issues related to Spatial Studio instance’s REST API end points. When a specific package name is entered, then the new log level will only take effect when code from that package is executed.

      • New Log Level: This drop-down list allows you to select the new log level to be applied to the server’s specific package or the entire server (default ROOT).

    2. Click OK.

      Note that the log files may take a while to be filled with the messages logged at the new level.

Viewing GDAL Installation Info

In order to upload raster imagery from files into the database, Oracle Instant Client and GDAL SDK needs to be configured correctly in Spatial Studio. You can verify if these installations are successful and view the location of these installations on the Console page.

Perform the following steps to view the GDAL installation info.

  1. Navigate to the Console page.

  2. Click GDAL Installation Info under Settings.

    The GDAL Installation Info slider opens as shown.

    Description of the illustration gdal_info.png

    Depending on whether the GDAL SDK and Oracle Instant Client installations exist or not, the corresponding message Found or Not Found is displayed.

Viewing Session Info

You can view details for the currently logged-in user, such as the user name and role, in Session info.

Perform the following steps to view the session information.

  1. Navigate to the Console page.

  2. Click Session info under Security.

    The Session info slider opens as shown.

    Description of the illustration session_info.png