Skip to content

Commit

Permalink
トンネルケーシングを復活
Browse files Browse the repository at this point in the history
  • Loading branch information
naogify committed Dec 15, 2022
1 parent 45d0ec1 commit 8cb50ad
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 0 deletions.
26 changes: 26 additions & 0 deletions layers/highway-motorway-tunnel-casing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
id: highway-motorway-tunnel-casing
type: line
source: gsi-japan
source-layer: road
minzoom: 6
filter:
- all
- - '=='
- ftCode
- 2704
- - any
- - '=='
- motorway
- 1
- - '=='
- rdCtg
- 3
layout:
line-join: round
visibility: visible
paint:
line-color: !!inc/file layers/components/tunnel-casing-color.yml
line-dasharray:
- 0.5
- 0.25
line-width: !!inc/file layers/components/broad-road-width-casing.yml
40 changes: 40 additions & 0 deletions layers/highway-primary-tunnel-casing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
id: highway-primary-tunnel-casing
type: line
source: gsi-japan
source-layer: road
minzoom: 7
filter:
- any
- - all
- - '=='
- rnkWidth
- 4
- - in
- ftCode
- 2704
- - '!='
- motorway
- 1
- - in
- rdCtg
- 0
- 1
- 2
- - all
- - '>='
- ftCode
- 52700
- - <
- ftCode
- 52800
- - '!='
- ftCode
- 52703
layout:
line-join: round
paint:
line-color: !!inc/file layers/components/tunnel-casing-color.yml
line-dasharray:
- 0.5
- 0.25
line-width: !!inc/file layers/components/broad-road-width-casing.yml
44 changes: 44 additions & 0 deletions layers/highway-secondary-tunnel-casing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
id: highway-secondary-tunnel-casing
type: line
source: gsi-japan
source-layer: road
minzoom: 4
filter:
- any
- - all
- - '=='
- ftCode
- 2704
- - '!='
- motorway
- 1
- - '!='
- rdCtg
- 3
- - any
- - in
- rdCtg
- 0
- 1
- 2
- - '=='
- rnkWidth
- 4
- - all
- - '>='
- ftCode
- 52700
- - <
- ftCode
- 52800
- - '!='
- ftCode
- 52703
layout:
line-join: round
paint:
line-color: !!inc/file layers/components/tunnel-casing-color.yml
line-dasharray:
- 0.5
- 0.25
line-width: !!inc/file layers/components/broad-road-width-casing.yml
3 changes: 3 additions & 0 deletions style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ layers:
- !!inc/file layers/structurea.yml

# Tunnels
- !!inc/file layers/highway-secondary-tunnel-casing.yml
- !!inc/file layers/highway-secondary-tunnel.yml
- !!inc/file layers/highway-primary-tunnel-casing.yml
- !!inc/file layers/highway-primary-tunnel.yml
- !!inc/file layers/highway-motorway-tunnel-casing.yml
- !!inc/file layers/highway-motorway-tunnel.yml

# Bridges
Expand Down

0 comments on commit 8cb50ad

Please sign in to comment.