diff --git a/layers/transportation/layer.sql b/layers/transportation/layer.sql index a0d0356d..0e431f9b 100644 --- a/layers/transportation/layer.sql +++ b/layers/transportation/layer.sql @@ -15,7 +15,8 @@ RETURNS TABLE(osm_id bigint, geometry geometry, class text, subclass text, ramp END AS class, COALESCE(NULLIF(highway,''), NULLIF(railway, '')) AS subclass, -- All links are considered as ramps as well - CASE WHEN highway_is_link(highway) THEN 1 ELSE is_ramp::int END AS ramp, + CASE WHEN highway_is_link(highway) OR highway = 'steps' + THEN 1 ELSE is_ramp::int END AS ramp, is_oneway::int AS oneway, brunnel(is_bridge, is_tunnel, is_ford) AS brunnel, NULLIF(service, '') AS service diff --git a/layers/transportation/mapping.yaml b/layers/transportation/mapping.yaml index 1f636c0c..7f637474 100644 --- a/layers/transportation/mapping.yaml +++ b/layers/transportation/mapping.yaml @@ -137,6 +137,7 @@ tables: - footway - corridor - pedestrian + - steps # etldoc: imposm3 -> osm_railway_linestring railway_linestring: