project.mml

changeset 6
0575190fa5fc
parent 5
63cfc4b10f9c
--- a/project.mml	Sat Sep 26 00:55:58 2020 +0300
+++ b/project.mml	Sat Sep 26 01:30:17 2020 +0300
@@ -448,7 +448,9 @@
 					name,
 					bilingual_name,
 					railway,
-					tags->'railway:ref' AS ref
+					COALESCE(tags->'network', 'FI:local') AS network,
+					tags->'railway:ref' AS ref,
+					(CASE WHEN tags->'station' = 'subway' THEN 1 ELSE 0 END) AS subway
 					FROM planet_osm_point
 					WHERE "railway" IN ('station', 'halt')
 				) AS train_stations

mercurial