Brunnel changes in transportation and transportation_name layers (#1027)

https://github.com/openmaptiles/openmaptiles/issues/999

- Point 1 solved only partially - there is `brunnel` value added into zooms 9, 10, 11. For zooms 8 and smaller it would need change in osm_transportation_merge_ tables - I am going to try it but maybe its SQL costs will be to high.

- Point 2 solved.
This commit is contained in:
Eva Jelinkova
2020-10-14 14:26:43 +02:00
committed by GitHub
parent b7429ce6f5
commit 341c4df171
4 changed files with 116 additions and 32 deletions

View File

@@ -15,6 +15,7 @@ CREATE OR REPLACE FUNCTION layer_transportation_name(bbox geometry, zoom_level i
network text,
class text,
subclass text,
brunnel text,
layer int,
level int,
indoor int
@@ -41,6 +42,7 @@ SELECT osm_id,
WHEN highway IS NOT NULL AND highway_class(highway, '', construction) = 'path'
THEN highway
END AS subclass,
brunnel,
NULLIF(layer, 0) AS layer,
"level",
CASE WHEN indoor = TRUE THEN 1 END AS indoor
@@ -94,6 +96,7 @@ FROM (
ref,
highway,
construction,
brunnel,
network,
z_order,
layer,
@@ -116,6 +119,7 @@ FROM (
ref,
highway,
construction,
brunnel,
network,
z_order,
layer,
@@ -137,6 +141,7 @@ FROM (
ref,
highway,
construction,
brunnel,
network,
z_order,
layer,