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

Expose bathymetry #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
92 changes: 92 additions & 0 deletions terrain-classic-background.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,67 @@ Layer:
file: landcover/LCType_z9-urban-only.vrt
# file: landcover/LCType_z9_s3-urban-only.vrt

- <<: *layer
name: ne_10m_rivers_lake_centerlines_scale_rank
id: ne_10m_rivers_lake_centerlines_scale_rank
properties:
minzoom: 4
maxzoom: 8
Datasource:
<<: *postgis
geometry_field: geom
table: ne_10m_rivers_lake_centerlines_scale_rank
encoding: "ISO-8859-1"

- <<: *layer
name: ne_50m_lakes
id: ne_50m_lakes
properties:
minzoom: 2
maxzoom: 5
Datasource:
<<: *postgis
geometry_field: geom
table: ne_50m_lakes
encoding: "ISO-8859-1"

- <<: *layer
name: ne_10m_lakes
id: ne_10m_lakes
properties:
minzoom: 6
maxzoom: 8
Datasource:
<<: *postgis
geometry_field: geom
table: ne_10m_lakes
encoding: "ISO-8859-1"

- <<: *layer
name: ne_10m_ocean
id: ne_10m_ocean
properties:
minzoom: 0
maxzoom: 7
Datasource:
<<: *postgis
geometry_field: geom
table: ne_10m_ocean
encoding: "ISO-8859-1"

- <<: *layer
name: ne_50m_ocean
id: ne_50m_ocean
properties:
minzoom: 0
maxzoom: 7
Datasource:
<<: *postgis
geometry_field: geom
table: ne_50m_ocean
encoding: "ISO-8859-1"


- <<: *layer
name: country-shapes-50m
id: country-shapes-50m
Expand Down Expand Up @@ -366,6 +427,37 @@ Layer:
WHERE geometry && !bbox!
) AS _

- <<: *layer
name: water
id: water
properties:
minzoom: 8
maxzoom: 9
Datasource:
<<: *postgis
geometry_field: geom
table: water_polygons

- <<: *layer
name: water-bodies-low
id: water-bodies-low
properties:
minzoom: 8
maxzoom: 9
Datasource:
<<: *postgis
geometry_field: geometry
table: >
(
SELECT
name,
type,
geometry,
area
FROM osm_water_areas_z10
WHERE geometry && !bbox!
) AS _

- <<: *layer
name: brown-areas-high
id: brown-areas-high
Expand Down
74 changes: 1 addition & 73 deletions terrain-classic-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,66 +47,6 @@ Stylesheet:

Layer:

- <<: *layer
name: ne_10m_rivers_lake_centerlines_scale_rank
id: ne_10m_rivers_lake_centerlines_scale_rank
properties:
minzoom: 4
maxzoom: 8
Datasource:
<<: *postgis
geometry_field: geom
table: ne_10m_rivers_lake_centerlines_scale_rank
encoding: "ISO-8859-1"

- <<: *layer
name: ne_50m_lakes
id: ne_50m_lakes
properties:
minzoom: 2
maxzoom: 5
Datasource:
<<: *postgis
geometry_field: geom
table: ne_50m_lakes
encoding: "ISO-8859-1"

- <<: *layer
name: ne_10m_lakes
id: ne_10m_lakes
properties:
minzoom: 6
maxzoom: 8
Datasource:
<<: *postgis
geometry_field: geom
table: ne_10m_lakes
encoding: "ISO-8859-1"

- <<: *layer
name: ne_10m_ocean
id: ne_10m_ocean
properties:
minzoom: 0
maxzoom: 7
Datasource:
<<: *postgis
geometry_field: geom
table: ne_10m_ocean
encoding: "ISO-8859-1"

- <<: *layer
name: ne_50m_ocean
id: ne_50m_ocean
properties:
minzoom: 0
maxzoom: 7
Datasource:
<<: *postgis
geometry_field: geom
table: ne_50m_ocean
encoding: "ISO-8859-1"

- <<: *layer
name: nullisland
id: nullisland
Expand Down Expand Up @@ -140,7 +80,7 @@ Layer:
name: water
id: water
properties:
minzoom: 8
minzoom: 10
Datasource:
<<: *postgis
geometry_field: geom
Expand Down Expand Up @@ -205,18 +145,6 @@ Layer:
WHERE geometry && !bbox!
) AS _

- <<: *layer
name: ne_10m_rivers_lake_centerlines_scale_rank
id: ne_10m_rivers_lake_centerlines_scale_rank
properties:
minzoom: 4
maxzoom: 8
Datasource:
<<: *postgis
geometry_field: geom
table: ne_10m_rivers_lake_centerlines_scale_rank
encoding: "ISO-8859-1"

- <<: *layer
name: admin0-map-units-10m
id: admin0-map-units-10m
Expand Down