From 6a5e6988aeec0f56e9aede25317c2549a2c0c262 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Fri, 28 Jun 2024 18:14:37 -0500 Subject: [PATCH] Add start_date and end_date as columns in relations --- images/tiler-imposm/config/imposm3.json | 38 ++++++++++++++++++++++--- values.staging.template.yaml | 8 +++--- 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/images/tiler-imposm/config/imposm3.json b/images/tiler-imposm/config/imposm3.json index b0f0fc67..98a53111 100644 --- a/images/tiler-imposm/config/imposm3.json +++ b/images/tiler-imposm/config/imposm3.json @@ -1027,6 +1027,16 @@ "key": "name", "type": "string" }, + { + "key": "start_date", + "name": "start_date", + "type": "string" + }, + { + "key": "end_date", + "name": "end_date", + "type": "string" + }, { "name": "name", "key": "name", @@ -1055,6 +1065,16 @@ "name": "name", "type": "string" }, + { + "key": "start_date", + "name": "start_date", + "type": "string" + }, + { + "key": "end_date", + "name": "end_date", + "type": "string" + }, { "name": "tags", "type": "hstore_tags" @@ -1090,6 +1110,16 @@ "name": "admin_level", "key": "admin_level" }, + { + "key": "start_date", + "name": "start_date", + "type": "string" + }, + { + "key": "end_date", + "name": "end_date", + "type": "string" + }, { "type": "hstore_tags", "name": "tags", @@ -1129,14 +1159,14 @@ "key": "admin_level" }, { - "type": "integer", + "key": "start_date", "name": "start_date", - "key": "start_date" + "type": "string" }, { - "type": "integer", + "key": "end_date", "name": "end_date", - "key": "end_date" + "type": "string" }, { "type": "hstore_tags", diff --git a/values.staging.template.yaml b/values.staging.template.yaml index 590c1ea3..6d294ee1 100644 --- a/values.staging.template.yaml +++ b/values.staging.template.yaml @@ -316,7 +316,7 @@ osm-seed: label_key: nodegroup_type label_value: job - name: tm-db - enabled: true + enabled: false schedule: '0 1 * * *' env: # backup/restore @@ -390,7 +390,7 @@ osm-seed: POSTGRES_DB_MAINTENANCE_WORK_MEM: 750MB POSTGRES_DB_EFFECTIVE_CACHE_SIZE: 7GB persistenceDisk: - enabled: true + enabled: false accessMode: ReadWriteOnce mountPath: /var/lib/postgresql/data subPath: postgresql-d @@ -421,9 +421,9 @@ osm-seed: label_value: db env: TILER_IMPORT_FROM: osm - TILER_IMPORT_PBF_URL: https://s3.amazonaws.com/planet.openhistoricalmap.org/planet/planet-240616_0002.osm.pbf + TILER_IMPORT_PBF_URL: https://s3.amazonaws.com/planet.openhistoricalmap.org/planet/planet-240628_0002.osm.pbf REPLICATION_URL: http://s3.amazonaws.com/planet.openhistoricalmap.org/replication/minute/ - SEQUENCE_NUMBER: "1447000" + SEQUENCE_NUMBER: "1463000" OVERWRITE_STATE: true UPLOAD_EXPIRED_FILES: true IMPORT_NATURAL_EARTH: true