Skip to content

Commit

Permalink
Update water areas centroid zoom 16-20
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Dec 6, 2024
1 parent 0f067d8 commit 75499f5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
44 changes: 22 additions & 22 deletions images/tiler-server/config/providers/water_areas.centroids.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,25 +140,25 @@ WHERE
geometry && !BBOX!
"""

[[providers.layers]]
geometry_fieldname = "geometry"
geometry_type = "point"
id_fieldname = "osm_id"
name = "water_areas_centroid_z16_20"
sql = """
SELECT
ST_AsMVTGeom(geometry, !BBOX!) AS geometry,
ABS(osm_id) AS osm_id,
name,
type,
area,
start_date,
end_date,
isodatetodecimaldate(pad_date(start_date, 'start'), FALSE) AS start_decdate,
isodatetodecimaldate(pad_date(end_date, 'end'), FALSE) AS end_decdate,
{{LENGUAGES}}
FROM
osm_water_areas_centroid_16_20
WHERE
geometry && !BBOX!
"""
# [[providers.layers]]
# geometry_fieldname = "geometry"
# geometry_type = "point"
# id_fieldname = "osm_id"
# name = "water_areas_centroid_z16_20"
# sql = """
# SELECT
# ST_AsMVTGeom(geometry, !BBOX!) AS geometry,
# ABS(osm_id) AS osm_id,
# name,
# type,
# area,
# start_date,
# end_date,
# isodatetodecimaldate(pad_date(start_date, 'start'), FALSE) AS start_decdate,
# isodatetodecimaldate(pad_date(end_date, 'end'), FALSE) AS end_decdate,
# {{LENGUAGES}}
# FROM
# osm_water_areas_centroid_16_20
# WHERE
# geometry && !BBOX!
# """
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ max_zoom = 12
name = "water_areas_centroids"
provider_layer = "osm.water_areas_centroid_z13_15"
min_zoom = 13
max_zoom = 15
max_zoom = 20

[[maps.layers]]
name = "water_areas_centroids"
provider_layer = "osm.water_areas_centroid_z16_20"
min_zoom = 16
max_zoom = 20
# [[maps.layers]]
# name = "water_areas_centroids"
# provider_layer = "osm.water_areas_centroid_z16_20"
# min_zoom = 16
# max_zoom = 20

0 comments on commit 75499f5

Please sign in to comment.