kopia lustrzana https://github.com/openmaptiles/openmaptiles
Remove unneeded waterway='' check (#1377)
This PR removes an unnecessary check in water.yml. generated SQL before: ``` SELECT CASE WHEN waterway='riverbank' THEN 'river' WHEN "waterway" = 'dock' THEN 'dock' WHEN "water" = 'river' OR "waterway" = 'riverbank' THEN 'river' WHEN "waterway" = '' THEN 'lake' ELSE 'lake' END; ``` generated SQL after: ``` SELECT CASE WHEN waterway='riverbank' THEN 'river' WHEN "waterway" = 'dock' THEN 'dock' WHEN "water" = 'river' OR "waterway" = 'riverbank' THEN 'river' ELSE 'lake' END; ``` The `waterway=''` test is purely redundant because it returns the same value as the fall-through ELSE case: `lake`.pull/1364/head^2
rodzic
ca9e8f4e52
commit
df6906b7b5
|
@ -26,7 +26,6 @@ layer:
|
|||
water: 'river'
|
||||
waterway: 'riverbank'
|
||||
lake:
|
||||
waterway: ''
|
||||
ocean:
|
||||
intermittent:
|
||||
description: |
|
||||
|
|
Ładowanie…
Reference in New Issue