Skip to content

Commit fe3d0fb

Browse files
committed
Add tidal, ford, and flood_prone tags
1 parent f437b9e commit fe3d0fb

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

sql/water.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ COPY (
3434
tags['assembly_point:storm_surge'] IS NOT NULL
3535
)
3636
) OR
37+
tags['ford'] IS NOT NULL OR
38+
tags['tidal'] IS NOT NULL OR
39+
tags['flood_prone'] IS NOT NULL OR
3740
tags['landuse'] IN ('basin', 'reservoir', 'harbour') -- All deprecated synonyms
3841
)
3942
)
@@ -69,6 +72,9 @@ COPY (
6972
tags['access'] AS access,
7073
tags['fee'] AS fee,
7174
tags['surface'] AS surface,
75+
tags['ford'] AS ford,
76+
tags['tidal'] AS tidal,
77+
tags['flood_prone'] AS flood_prone,
7278
prefix_map('seamark:', tags) AS seamark,
7379
prefix_map('assembly_point:', tags) AS assembly_point,
7480
prefix_map('monitoring:', tags) AS monitoring,

sql/water_test.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ SELECT assert_col_not_empty('emergency');
2828
SELECT assert_col_not_empty('landuse');
2929
SELECT assert_col_not_empty('industrial');
3030
SELECT assert_col_not_empty('amenity');
31+
SELECT assert_col_not_empty('ford');
32+
SELECT assert_col_not_empty('tidal');
33+
SELECT assert_col_not_empty('flood_prone');
3134

3235
SELECT assert_map_not_empty('seamark');
3336
SELECT assert_map_not_empty('assembly_point');

0 commit comments

Comments
 (0)