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

Use v3 tiles #154

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 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
352 changes: 155 additions & 197 deletions docs/style.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion layers/airport-label-major.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: airport-label-major
type: symbol
source: geolonia-gsi-custom
source: v3
source-layer: aerodrome_label
minzoom: 5
filter:
Expand Down
2 changes: 1 addition & 1 deletion layers/geolonia-water-ocean.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: geolonia-water-ocean
type: fill
source: geolonia-water
source: v3
source-layer: water
layout:
visibility: visible
Expand Down
2 changes: 1 addition & 1 deletion layers/landcover-grass-park.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landcover-grass-park
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: park
filter:
- '=='
Expand Down
2 changes: 1 addition & 1 deletion layers/landcover-grass.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landcover-grass
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landcover
filter:
- '=='
Expand Down
2 changes: 1 addition & 1 deletion layers/landcover-wood-blur.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landcover-wood-blur
type: line
source: geolonia-gsi-custom
source: v3
source-layer: landcover
filter:
- '=='
Expand Down
10 changes: 8 additions & 2 deletions layers/landcover-wood.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landcover-wood
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landcover
filter:
- '=='
Expand All @@ -9,7 +9,13 @@ filter:
layout:
visibility: visible
paint:
fill-color: '#bce398'
fill-color:
stops:
- - 5
- '#a5d47b'
- - 8
- '#bce398'

fill-antialias:
base: 1
stops:
Expand Down
2 changes: 1 addition & 1 deletion layers/landuse-cemetery.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landuse-cemetery
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landuse
filter:
- '=='
Expand Down
2 changes: 1 addition & 1 deletion layers/landuse-commercial.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landuse-commercial
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landuse
filter:
- all
Expand Down
2 changes: 1 addition & 1 deletion layers/landuse-hospital.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landuse-hospital
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landuse
filter:
- '=='
Expand Down
2 changes: 1 addition & 1 deletion layers/landuse-industrial.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landuse-industrial
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landuse
filter:
- all
Expand Down
2 changes: 1 addition & 1 deletion layers/landuse-railway.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landuse-railway
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landuse
filter:
- '=='
Expand Down
2 changes: 1 addition & 1 deletion layers/landuse-school.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: landuse-school
type: fill
source: geolonia-gsi-custom
source: v3
source-layer: landuse
filter:
- '=='
Expand Down
2 changes: 1 addition & 1 deletion layers/nt-water-name-ocean.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: nt-water-name-ocean
type: symbol
source: oceanus
source: v3
source-layer: nt-water-name
minzoom: 8
filter:
Expand Down
2 changes: 1 addition & 1 deletion layers/nt-water-name-river.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: nt-water-name-river
type: symbol
source: oceanus
source: v3
source-layer: nt-water-name
minzoom: 13
filter:
Expand Down
15 changes: 0 additions & 15 deletions layers/oc-boundary-land-level-0.yml

This file was deleted.

26 changes: 0 additions & 26 deletions layers/oc-boundary-land-level-1.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
id: oc-boundary-land-level-1-ja
type: line
source: oceanus
source-layer: oc-boundary
source: v3
source-layer: boundary
minzoom: 4
maxzoom: 6
filter:
- all
- - '=='
- - get
- admin_level
- 1
- 4
- - has
- jflag
layout:
Expand Down
15 changes: 0 additions & 15 deletions layers/oc-forest.yml

This file was deleted.

2 changes: 1 addition & 1 deletion layers/oc-glacier.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-glacier
type: fill
source: oceanus
source: v3
source-layer: oc-glacier
maxzoom: 8
layout:
Expand Down
20 changes: 13 additions & 7 deletions layers/oc-label-country.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
id: oc-label-country
type: symbol
source: oceanus
source-layer: oc-label
maxzoom: 7
source: v3
source-layer: place
minzoom: 0
maxzoom: 6
filter:
- '=='
- - get
- class
- country
- all
- - '=='
- - 'get'
- 'class'
- 'country'
- - '=='
- - 'has'
- osm_id
- false
layout:
text-font:
- Noto Sans CJK JP Bold
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-label-pref-capital-ja.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-label-pref-capital-ja
type: symbol
source: oceanus
source: v3
source-layer: oc-label
minzoom: 7
maxzoom: 8
Expand Down
14 changes: 8 additions & 6 deletions layers/oc-label-pref-capital-popular-ja.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
id: oc-label-pref-capital-popular-ja
type: symbol
source: oceanus
source-layer: oc-label
source: v3
source-layer: place
minzoom: 5
maxzoom: 8
filter:
- all
- - has
- jflag
- - has
- pref-capital
- - '!='
- capital
- 2
- - '=='
- class
- city
- - in # TODO: タイル側で対応する https://github.com/geoloniamaps/gsi/pull/112
- name
- '福岡市'
Expand Down
8 changes: 4 additions & 4 deletions layers/oc-label-pref-ja.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
id: oc-label-pref-ja
type: symbol
source: oceanus
source-layer: oc-label
minzoom: 6
maxzoom: 8
source: v3
source-layer: place
minzoom: 5
maxzoom: 6
filter:
- all
- - '=='
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-label-pref.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-label-pref
type: symbol
source: oceanus
source: v3
source-layer: oc-label
minzoom: 5
filter:
Expand Down
37 changes: 26 additions & 11 deletions layers/oc-label-town-ja.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
id: oc-label-town-ja
type: symbol
source: oceanus
source-layer: oc-label
source: v3
source-layer: place
minzoom: 7
maxzoom: 8
filter:
- all
- - '!='
- capital
- 2
- - '=='
- - get
- class
- town
- - has
- jflag
- - '=='
- - has
- pref-capital
- false
- class
- city
- - any
- - '=='
- rank
- 2
- - '=='
- rank
- 3
- - '=='
- rank
- 4
- - '=='
- rank
- 5
- - '=='
- rank
- 6
- - '!='
- disputed
- japan_northern_territories
layout:
text-padding: 2
text-font:
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-label-town.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-label-town
type: symbol
source: oceanus
source: v3
source-layer: oc-label
minzoom: 6
filter:
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-lake-blur.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-lake-blur
type: line
source: oceanus
source: v3
source-layer: oc-water
minzoom: 17
filter:
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-lake-ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

id: oc-lake-ja
type: fill
source: oceanus
source: v3
source-layer: oc-water
minzoom: 4
maxzoom: 8
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-lake.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-lake
type: fill
source: oceanus
source: v3
source-layer: oc-water
minzoom: 4
filter:
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-landuse-commercial-ja.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-landuse-commercial-ja
type: fill
source: oceanus
source: v3
source-layer: oc-landuse
minzoom: 5
maxzoom: 8
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-landuse-commercial.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-landuse-commercial
type: fill
source: oceanus
source: v3
source-layer: oc-landuse
minzoom: 5
filter:
Expand Down
2 changes: 1 addition & 1 deletion layers/oc-motorway.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id: oc-motorway
type: line
source: oceanus
source: v3
source-layer: oc-road
minzoom: 6
maxzoom: 6
Expand Down
Loading