Skip to content

Commit

Permalink
Update routes lines layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Dec 6, 2024
1 parent 797479f commit 32ea85e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion images/tiler-server/config/config.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions images/tiler-server/config/providers/route_lines.toml
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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!
"""
2 changes: 1 addition & 1 deletion images/tiler-server/config/providers/route_lines.zoom.toml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions values.staging.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 32ea85e

Please sign in to comment.