Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

narrow_guage -> narrow_gauge #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions high_road_views-setup.pgsql
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ CREATE VIEW planet_osm_line_z15plus AS
(CASE WHEN highway IN ('motorway', 'motorway_link') THEN 'highway'
WHEN highway IN ('trunk', 'trunk_link', 'primary', 'primary_link', 'secondary', 'secondary_link', 'tertiary', 'tertiary_link') THEN 'major_road'
WHEN highway IN ('footpath', 'track', 'footway', 'steps', 'pedestrian', 'path', 'cycleway') THEN 'path'
WHEN railway IN ('rail', 'tram', 'light_rail', 'narrow_guage', 'monorail') THEN 'rail'
WHEN railway IN ('rail', 'tram', 'light_rail', 'narrow_gauge', 'monorail') THEN 'rail'
ELSE 'minor_road' END) AS kind,

(CASE WHEN highway LIKE '%_link' THEN 'yes'
Expand All @@ -385,7 +385,7 @@ CREATE VIEW planet_osm_line_z15plus AS
END) AS implied_layer,

(CASE WHEN highway IN ('motorway') THEN 0
WHEN railway IN ('rail', 'tram', 'light_rail', 'narrow_guage', 'monorail') THEN .5
WHEN railway IN ('rail', 'tram', 'light_rail', 'narrow_gauge', 'monorail') THEN .5
WHEN highway IN ('trunk') THEN 1
WHEN highway IN ('primary') THEN 2
WHEN highway IN ('secondary') THEN 3
Expand Down Expand Up @@ -429,21 +429,21 @@ CREATE VIEW planet_osm_line_z15plus AS
SELECT 'outline' AS render, 1 AS is_outline, 1 AS is_casing,
way, NULL AS highway, railway, tunnel, bridge, layer
FROM planet_osm_line
WHERE railway IN ('rail', 'tram', 'light_rail', 'narrow_guage', 'monorail')
WHERE railway IN ('rail', 'tram', 'light_rail', 'narrow_gauge', 'monorail')

UNION

SELECT 'casing' AS render, 0 AS is_outline, 1 AS is_casing,
way, NULL AS highway, railway, tunnel, bridge, layer
FROM planet_osm_line
WHERE railway IN ('rail', 'tram', 'light_rail', 'narrow_guage', 'monorail')
WHERE railway IN ('rail', 'tram', 'light_rail', 'narrow_gauge', 'monorail')

UNION

SELECT 'inline' AS render, 0 AS is_outline, 0 AS is_casing,
way, NULL AS highway, railway, tunnel, bridge, layer
FROM planet_osm_line
WHERE railway IN ('rail', 'tram', 'light_rail', 'narrow_guage', 'monorail')
WHERE railway IN ('rail', 'tram', 'light_rail', 'narrow_gauge', 'monorail')

) AS roads

Expand Down