layers/transportation/: do a tiny code styling (#321)
This commit is contained in:
parent
c42943dc0c
commit
8d9a5df48b
@ -17,9 +17,8 @@ CREATE OR REPLACE FUNCTION highway_class(highway TEXT, public_transport TEXT) RE
|
|||||||
WHEN highway IN ('secondary', 'secondary_link') THEN 'secondary'
|
WHEN highway IN ('secondary', 'secondary_link') THEN 'secondary'
|
||||||
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 ('pedestrian', 'path', 'footway', 'cycleway', 'steps', 'bridleway', 'corridor') OR public_transport IN ('platform') THEN 'path'
|
WHEN highway IN ('pedestrian', 'path', 'footway', 'cycleway', 'steps', 'bridleway', 'corridor') OR public_transport IN ('platform') THEN 'path'
|
||||||
WHEN highway = 'raceway' THEN 'raceway'
|
WHEN highway IN ('service', 'track', 'raceway') THEN highway
|
||||||
ELSE NULL
|
ELSE NULL
|
||||||
END;
|
END;
|
||||||
$$ LANGUAGE SQL IMMUTABLE;
|
$$ LANGUAGE SQL IMMUTABLE;
|
||||||
|
|||||||
@ -187,18 +187,18 @@ tables:
|
|||||||
- tertiary_link
|
- tertiary_link
|
||||||
- unclassified
|
- unclassified
|
||||||
- residential
|
- residential
|
||||||
- road
|
|
||||||
- living_street
|
- living_street
|
||||||
- raceway
|
- road
|
||||||
- track
|
|
||||||
- service
|
|
||||||
- path
|
|
||||||
- cycleway
|
|
||||||
- bridleway
|
|
||||||
- footway
|
|
||||||
- corridor
|
|
||||||
- pedestrian
|
- pedestrian
|
||||||
|
- path
|
||||||
|
- footway
|
||||||
|
- cycleway
|
||||||
- steps
|
- steps
|
||||||
|
- bridleway
|
||||||
|
- corridor
|
||||||
|
- service
|
||||||
|
- track
|
||||||
|
- raceway
|
||||||
public_transport:
|
public_transport:
|
||||||
- platform
|
- platform
|
||||||
man_made:
|
man_made:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user