Add missing classes for raceway, bridleway, corridor #82

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

View File

@ -18,7 +18,8 @@ CREATE OR REPLACE FUNCTION highway_class(highway TEXT) RETURNS TEXT AS $$
WHEN highway IN ('tertiary', 'tertiary_link') THEN 'tertiary' WHEN highway IN ('tertiary', 'tertiary_link') THEN 'tertiary'
WHEN highway IN ('unclassified', 'residential', 'living_street', 'road') THEN 'minor' WHEN highway IN ('unclassified', 'residential', 'living_street', 'road') THEN 'minor'
WHEN highway IN ('service', 'track') THEN highway WHEN highway IN ('service', 'track') THEN highway
WHEN highway IN ('pedestrian', 'path', 'footway', 'cycleway', 'steps') THEN 'path' WHEN highway IN ('pedestrian', 'path', 'footway', 'cycleway', 'steps', 'bridleway', 'corridor') THEN 'path'
WHEN highway = 'raceway' THEN 'raceway'
ELSE NULL ELSE NULL
END; END;
$$ LANGUAGE SQL IMMUTABLE STRICT; $$ LANGUAGE SQL IMMUTABLE STRICT;

View File

@ -129,7 +129,6 @@ tables:
- road - road
- living_street - living_street
- raceway - raceway
- construction
- track - track
- service - service
- path - path
@ -137,7 +136,6 @@ tables:
- bridleway - bridleway
- footway - footway
- corridor - corridor
- crossing
- pedestrian - pedestrian
# etldoc: imposm3 -> osm_railway_linestring # etldoc: imposm3 -> osm_railway_linestring