Map highway=step. Fixes #84

This commit is contained in:
Lukas Martinelli 2016-12-02 11:14:45 +00:00
parent 2250d140df
commit 3e229a7b3c
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -137,6 +137,7 @@ tables:
- footway
- corridor
- pedestrian
- steps
# etldoc: imposm3 -> osm_railway_linestring
railway_linestring: