Skip to main content

Advanced steps for installing maps API

Creating and connecting the Cassandra keyspace

To store tile data, the service uses Cassandra keyspaces.

If Cassandra security settings allow automatic creation of keyspaces, the keyspace for storing tile data will be automatically created when installing and recreated when updating the map service.

The name of the keyspace is generated based on:

  • the data type (web, raster or native)
  • the value of the cassandra.environment parameter (no more than 13 characters)
  • the Unix time when the manifest was generated

Name example: ts_web_test_1779269805.

If Cassandra security settings do not allow automatic creation of keyspaces, perform the following steps.

On initial installation of the map service

  1. Create a keyspace manually.

  2. Specify the keyspace name in the types[0].keyspace parameter in the values-tiles.yaml configuration file:

    types:
    - kind: web
    - kind: raster
    keyspace: TILES-KEYSPACE-NAME

On subsequent updates of the map service

Disable automatic import and cleanup of tile data by adding the types[0].importAndCleanerDisabled: true parameter in the values-tiles.yaml configuration file:

types:
- kind: web
- kind: raster
keyspace: TILES-KEYSPACE-NAME
importAndCleanerDisabled: true