kopia lustrzana https://github.com/openmaptiles/openmaptiles
Add requires.tables to <layer>.yaml (#1236)
**NOTE** this can only be merged after the next tools version is released. Added required Postgres tables to the `<layer>.yaml` definition. Close: #1220 PR of tools: https://github.com/openmaptiles/openmaptiles-tools/pull/370pull/1293/head
rodzic
5b2e43497e
commit
ebeafc65fa
|
|
@ -1,5 +1,13 @@
|
||||||
layer:
|
layer:
|
||||||
id: "boundary"
|
id: "boundary"
|
||||||
|
requires:
|
||||||
|
tables:
|
||||||
|
- osm_border_linestring
|
||||||
|
- ne_10m_admin_0_countries
|
||||||
|
- ne_10m_admin_0_boundary_lines_land
|
||||||
|
- ne_10m_admin_1_states_provinces_lines
|
||||||
|
- ne_50m_admin_0_boundary_lines_land
|
||||||
|
- ne_110m_admin_0_boundary_lines_land
|
||||||
description: |
|
description: |
|
||||||
Contains administrative boundaries as linestrings.
|
Contains administrative boundaries as linestrings.
|
||||||
Until z4 [Natural Earth data](http://www.naturalearthdata.com/downloads/) is used after which
|
Until z4 [Natural Earth data](http://www.naturalearthdata.com/downloads/) is used after which
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
layer:
|
layer:
|
||||||
id: "landcover"
|
id: "landcover"
|
||||||
|
requires:
|
||||||
|
tables:
|
||||||
|
- ne_50m_antarctic_ice_shelves_polys
|
||||||
description: |
|
description: |
|
||||||
Landcover is used to describe the physical material at the surface of the earth. At lower zoom levels this is
|
Landcover is used to describe the physical material at the surface of the earth. At lower zoom levels this is
|
||||||
from Natural Earth data for glaciers and ice shelves and at higher zoom levels the landcover is [implied by OSM tags](http://wiki.openstreetmap.org/wiki/Landcover). The most common use case for this layer
|
from Natural Earth data for glaciers and ice shelves and at higher zoom levels the landcover is [implied by OSM tags](http://wiki.openstreetmap.org/wiki/Landcover). The most common use case for this layer
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
layer:
|
layer:
|
||||||
id: "landuse"
|
id: "landuse"
|
||||||
|
requires:
|
||||||
|
tables:
|
||||||
|
- ne_50m_urban_areas
|
||||||
description: |
|
description: |
|
||||||
Landuse is used to describe use of land by humans. At lower zoom levels this is
|
Landuse is used to describe use of land by humans. At lower zoom levels this is
|
||||||
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
from Natural Earth data for residential (urban) areas and at higher zoom levels mostly OSM `landuse` tags.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,10 @@
|
||||||
layer:
|
layer:
|
||||||
id: "place"
|
id: "place"
|
||||||
|
requires:
|
||||||
|
tables:
|
||||||
|
- ne_10m_admin_1_states_provinces
|
||||||
|
- ne_10m_admin_0_countries
|
||||||
|
- ne_10m_admin_1_states_provinces
|
||||||
description: |
|
description: |
|
||||||
The place layer consists out of [countries](http://wiki.openstreetmap.org/wiki/Tag:place%3Dcountry),
|
The place layer consists out of [countries](http://wiki.openstreetmap.org/wiki/Tag:place%3Dcountry),
|
||||||
[states](http://wiki.openstreetmap.org/wiki/Tag:place%3Dstate) and [cities](http://wiki.openstreetmap.org/wiki/Key:place).
|
[states](http://wiki.openstreetmap.org/wiki/Tag:place%3Dstate) and [cities](http://wiki.openstreetmap.org/wiki/Key:place).
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
layer:
|
layer:
|
||||||
id: "transportation"
|
id: "transportation"
|
||||||
|
requires:
|
||||||
|
tables:
|
||||||
|
- ne_10m_admin_0_countries
|
||||||
description: |
|
description: |
|
||||||
**transportation** contains roads, railways, aerial ways, and shipping
|
**transportation** contains roads, railways, aerial ways, and shipping
|
||||||
lines.
|
lines.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
layer:
|
layer:
|
||||||
id: "transportation_name"
|
id: "transportation_name"
|
||||||
# transportation_name relies on the function highway_class() defined in transportation layer
|
# transportation_name relies on the function highway_class() defined in transportation layer
|
||||||
requires: "transportation"
|
requires:
|
||||||
|
layers:
|
||||||
|
- transportation
|
||||||
description: |
|
description: |
|
||||||
This is the layer for labelling the highways. Only highways that are named `name=*` and are long enough
|
This is the layer for labelling the highways. Only highways that are named `name=*` and are long enough
|
||||||
to place text upon appear. The OSM roads are stitched together if they contain the same name
|
to place text upon appear. The OSM roads are stitched together if they contain the same name
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
layer:
|
layer:
|
||||||
id: "water"
|
id: "water"
|
||||||
|
requires:
|
||||||
|
tables:
|
||||||
|
- osm_ocean_polygon
|
||||||
description: |
|
description: |
|
||||||
Water polygons representing oceans and lakes. Covered watered areas are excluded (`covered=yes`).
|
Water polygons representing oceans and lakes. Covered watered areas are excluded (`covered=yes`).
|
||||||
On low zoom levels all water originates from Natural Earth. To get a more correct display of the south pole you should also
|
On low zoom levels all water originates from Natural Earth. To get a more correct display of the south pole you should also
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,9 @@
|
||||||
layer:
|
layer:
|
||||||
id: "water_name"
|
id: "water_name"
|
||||||
|
requires:
|
||||||
|
tables:
|
||||||
|
- ne_10m_geography_marine_polys
|
||||||
|
- lake_centerline
|
||||||
description: |
|
description: |
|
||||||
Lake center lines for labelling lake bodies.
|
Lake center lines for labelling lake bodies.
|
||||||
This is based of the [osm-lakelines](https://github.com/lukasmartinelli/osm-lakelines) project
|
This is based of the [osm-lakelines](https://github.com/lukasmartinelli/osm-lakelines) project
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
layer:
|
layer:
|
||||||
id: "waterway"
|
id: "waterway"
|
||||||
# waterway relies on the function waterway_brunnel() defined in water layer
|
# waterway relies on the function waterway_brunnel() defined in water layer
|
||||||
requires: "water"
|
requires:
|
||||||
|
layers:
|
||||||
|
- water
|
||||||
description: |
|
description: |
|
||||||
OpenStreetMap [waterways](https://wiki.openstreetmap.org/wiki/Waterways) for higher zoom levels (z9 and more)
|
OpenStreetMap [waterways](https://wiki.openstreetmap.org/wiki/Waterways) for higher zoom levels (z9 and more)
|
||||||
and Natural Earth rivers and lake centerlines for low zoom levels (z3 - z8).
|
and Natural Earth rivers and lake centerlines for low zoom levels (z3 - z8).
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue