diff --git a/images/tiler-server/config/providers/admin_boundaries_centroids.toml b/images/tiler-server/config/providers/admin_boundaries_centroids.toml index bd237660..151a4afc 100644 --- a/images/tiler-server/config/providers/admin_boundaries_centroids.toml +++ b/images/tiler-server/config/providers/admin_boundaries_centroids.toml @@ -7,7 +7,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -31,7 +31,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -55,7 +55,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -79,7 +79,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -103,7 +103,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -127,7 +127,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -151,7 +151,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, diff --git a/images/tiler-server/config/providers/admin_boundaries_lines.toml b/images/tiler-server/config/providers/admin_boundaries_lines.toml index bf19e45c..70577032 100644 --- a/images/tiler-server/config/providers/admin_boundaries_lines.toml +++ b/images/tiler-server/config/providers/admin_boundaries_lines.toml @@ -7,7 +7,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -30,7 +30,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -54,7 +54,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -77,7 +77,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -100,7 +100,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -123,7 +123,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date, @@ -146,7 +146,7 @@ sql = """ SELECT ST_AsMVTGeom(geometry, !BBOX!) AS geometry, ABS(osm_id) AS osm_id, - NULLIF(admin_level, '') AS admin_level, + admin_level, NULLIF(name, '') AS name, NULLIF(type, '') AS type, NULLIF(start_date, '') AS start_date,