From 32ea85e35345d05846d30dd778e6f21e69e6b8a8 Mon Sep 17 00:00:00 2001 From: Rub21 Date: Fri, 6 Dec 2024 10:42:43 -0500 Subject: [PATCH] Update routes lines layer --- images/tiler-server/config/config.template.toml | 2 +- images/tiler-server/config/providers/route_lines.toml | 8 ++++---- .../tiler-server/config/providers/route_lines.zoom.toml | 2 +- values.staging.template.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/images/tiler-server/config/config.template.toml b/images/tiler-server/config/config.template.toml index 88bafd93..3a6d39d0 100644 --- a/images/tiler-server/config/config.template.toml +++ b/images/tiler-server/config/config.template.toml @@ -78,7 +78,7 @@ max_connections = 50 [['providers/buildings.toml']] [['providers/buildings.centroids.toml']] - ###### transport_associated_streets + ##### transport_associated_streets [['providers/transport_associated_streets.toml']] ###### admin_boundaries_maritime diff --git a/images/tiler-server/config/providers/route_lines.toml b/images/tiler-server/config/providers/route_lines.toml index 0973375c..bfab752a 100644 --- a/images/tiler-server/config/providers/route_lines.toml +++ b/images/tiler-server/config/providers/route_lines.toml @@ -1,12 +1,12 @@ [[providers.layers]] -name = "route_lines_8_9" +name = "routes_lines" geometry_fieldname = "geometry" geometry_type = "LineString" id_fieldname = "osm_id" sql = """ SELECT - ST_AsMVTGeom(ST_Simplify(geometry, !SIMPLIFICATION!), !BBOX!) AS geometry, - ABS(r.osm_id) AS osm_id, + ST_AsMVTGeom(geometry, !BBOX!) AS geometry, + ABS(osm_id) AS osm_id, name, type, route, @@ -26,6 +26,6 @@ SELECT isodatetodecimaldate(pad_date(start_date, 'start'), FALSE) AS start_decdate, isodatetodecimaldate(pad_date(end_date, 'end'), FALSE) AS end_decdate, {{LENGUAGES}} -FROM osm_route_lines_z8_9 +FROM osm_relation_members_routes WHERE geometry && !BBOX! """ \ No newline at end of file diff --git a/images/tiler-server/config/providers/route_lines.zoom.toml b/images/tiler-server/config/providers/route_lines.zoom.toml index 6fea0412..61e269bd 100644 --- a/images/tiler-server/config/providers/route_lines.zoom.toml +++ b/images/tiler-server/config/providers/route_lines.zoom.toml @@ -1,5 +1,5 @@ [[maps.layers]] name = "route_lines" -provider_layer = "osm.route_lines_5_20" +provider_layer = "osm.routes_lines" min_zoom = 5 max_zoom = 20 diff --git a/values.staging.template.yaml b/values.staging.template.yaml index 04183997..bc689148 100644 --- a/values.staging.template.yaml +++ b/values.staging.template.yaml @@ -397,7 +397,7 @@ osm-seed: mountPath: /var/lib/postgresql/data subPath: postgresql-d # In case cloudProvider: aws - AWS_ElasticBlockStore_volumeID : vol-0492574788bacbabb + AWS_ElasticBlockStore_volumeID : vol-070a59c4b4d7c0b32 AWS_ElasticBlockStore_size: 200Gi resources: enabled: false @@ -498,7 +498,7 @@ osm-seed: accessMode: ReadWriteOnce mountPath: /mnt/data # In case cloudProvider: aws - AWS_ElasticBlockStore_volumeID: vol-02af939ea87b8c5db + AWS_ElasticBlockStore_volumeID: vol-088adc6b334905d19 AWS_ElasticBlockStore_size: 50Gi resources: enabled: false