Skip to content

Commit 082daef

Browse files
committed
Remove empty string for routes_lines layer - vtiles
1 parent f9904df commit 082daef

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

images/tiler-server/config/providers/route_lines.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ sql = """
77
SELECT
88
ST_AsMVTGeom(geometry, !BBOX!) AS geometry,
99
ABS(osm_id) AS osm_id,
10-
name,
11-
type,
12-
route,
13-
ref,
14-
network,
15-
direction,
16-
operator,
17-
state,
18-
symbol,
10+
NULLIF(name, '') AS name,
11+
NULLIF(type, '') AS type,
12+
NULLIF(route, '') AS route,
13+
NULLIF(ref, '') AS ref,
14+
NULLIF(network, '') AS network,
15+
NULLIF(direction, '') AS direction,
16+
NULLIF(operator, '') AS operator,
17+
NULLIF(state, '') AS state,
18+
NULLIF(symbol, '') AS symbol,
1919
distance,
20-
roundtrip,
21-
interval,
22-
duration,
23-
tourism,
20+
NULLIF(roundtrip, '') AS roundtrip,
21+
NULLIF(interval, '') AS interval,
22+
NULLIF(duration, '') AS duration,
23+
NULLIF(tourism, '') AS tourism,
2424
NULLIF(start_date, '') AS start_date,
2525
NULLIF(end_date, '') AS end_date,
2626
isodatetodecimaldate(pad_date(start_date, 'start'), FALSE) AS start_decdate,

0 commit comments

Comments
 (0)