Updates documentation for 3.13 (#1350)

Adding missing information in `layers.yaml` files for 3.13
pull/1343/head^2
Tomas Pohanka 2022-02-09 12:38:47 +01:00 zatwierdzone przez GitHub
rodzic 7f08414f20
commit 81ddab9f9a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
5 zmienionych plików z 16 dodań i 11 usunięć

Wyświetl plik

@ -1,8 +1,8 @@
layer: layer:
id: "building" id: "building"
description: | description: |
All [OSM Buildings](http://wiki.openstreetmap.org/wiki/Buildings). All building tags are imported ([`building=*`](http://wiki.openstreetmap.org/wiki/Key:building)). The buildings are not yet ready for 3D rendering support and any help to improve All [OSM Buildings](http://wiki.openstreetmap.org/wiki/Buildings). All building tags are imported ([`building=*`](http://wiki.openstreetmap.org/wiki/Key:building)).
this is welcomed. Only buildings with tag location:underground are excluded.
buffer_size: 4 buffer_size: 4
datasource: datasource:
geometry_field: geometry geometry_field: geometry
@ -12,9 +12,9 @@ layer:
query: (SELECT osm_id, geometry, render_height, render_min_height, colour, hide_3d FROM layer_building(!bbox!, z(!scale_denominator!))) AS t query: (SELECT osm_id, geometry, render_height, render_min_height, colour, hide_3d FROM layer_building(!bbox!, z(!scale_denominator!))) AS t
fields: fields:
render_height: | render_height: |
An approximated height from levels and height of the building or building:part after the method of Paul Norman in [OSM Clear](https://github.com/ClearTables/osm-clear). For future 3D rendering of buildings. An approximated height from levels and height of the building or building:part.
render_min_height: | render_min_height: |
An approximated height from levels and height of the bottom of the building or building:part after the method of Paul Norman in [OSM Clear](https://github.com/ClearTables/osm-clear). For future 3D rendering of buildings. An approximated height from minimum levels or minimum height of the bottom of the building or building:part.
colour: | colour: |
Colour Colour
hide_3d: | hide_3d: |

Wyświetl plik

@ -10,10 +10,11 @@ layer:
name_de: German name `name:de` if available, otherwise `name` or `name:en`. name_de: German name `name:de` if available, otherwise `name` or `name:en`.
class: class:
description: | description: |
Use the **class** to differentiate between mountain peak and volcano. Use the **class** to differentiate between natural objects.
values: values:
- peak - peak
- volcano - volcano
- saddle
- ridge - ridge
- cliff - cliff
- arete - arete

Wyświetl plik

@ -111,7 +111,8 @@ layer:
[`tourism`](http://wiki.openstreetmap.org/wiki/Key:tourism), [`tourism`](http://wiki.openstreetmap.org/wiki/Key:tourism),
[`aerialway`](http://wiki.openstreetmap.org/wiki/Key:aerialway), [`aerialway`](http://wiki.openstreetmap.org/wiki/Key:aerialway),
[`building`](http://wiki.openstreetmap.org/wiki/Key:building), [`building`](http://wiki.openstreetmap.org/wiki/Key:building),
[`highway`](http://wiki.openstreetmap.org/wiki/Key:highway) [`highway`](http://wiki.openstreetmap.org/wiki/Key:highway),
[`office`](https://wiki.openstreetmap.org/wiki/Key:office)
or [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway) or [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway)
tag. Use this to do more precise styling. tag. Use this to do more precise styling.
rank: | rank: |

Wyświetl plik

@ -24,7 +24,8 @@ layer:
[`railway`](http://wiki.openstreetmap.org/wiki/Key:railway), [`railway`](http://wiki.openstreetmap.org/wiki/Key:railway),
[`aerialway`](http://wiki.openstreetmap.org/wiki/Key:aerialway), [`aerialway`](http://wiki.openstreetmap.org/wiki/Key:aerialway),
[`route`](http://wiki.openstreetmap.org/wiki/Key:route) tag (for [`route`](http://wiki.openstreetmap.org/wiki/Key:route) tag (for
shipping ways), or shipping ways),
[`busway`](https://wiki.openstreetmap.org/wiki/Key:busway), or
[`man_made`](http://wiki.openstreetmap.org/wiki/Key:man_made). [`man_made`](http://wiki.openstreetmap.org/wiki/Key:man_made).
values: values:
motorway: motorway:
@ -134,12 +135,12 @@ layer:
Mark with `1` whether way is a oneway in the direction of the way, Mark with `1` whether way is a oneway in the direction of the way,
with `-1` whether way is a oneway in the opposite direction of the way with `-1` whether way is a oneway in the opposite direction of the way
or not a oneway with `0`. or not a oneway with `0`.
values: [0, 1, -1] values: [1, -1]
ramp: ramp:
description: | description: |
Mark with `1` whether way is a ramp (link or steps) Mark with `1` whether way is a ramp (link or steps)
or not with `0`. or not with `0`.
values: [0, 1] values: [1]
service: service:
description: | description: |
Original value of the [`service`](http://wiki.openstreetmap.org/wiki/Key:service) tag. Original value of the [`service`](http://wiki.openstreetmap.org/wiki/Key:service) tag.

Wyświetl plik

@ -6,7 +6,7 @@ layer:
- lake_centerline - 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/openmaptiles/osm-lakelines) project
which derives nice centerlines from OSM water bodies. Only the most important lakes contain labels. which derives nice centerlines from OSM water bodies. Only the most important lakes contain labels.
fields: fields:
name: The OSM [`name`](http://wiki.openstreetmap.org/wiki/Key:name) value of the water body. name: The OSM [`name`](http://wiki.openstreetmap.org/wiki/Key:name) value of the water body.
@ -14,9 +14,11 @@ layer:
name_de: German name `name:de` if available, otherwise `name` or `name:en`. name_de: German name `name:de` if available, otherwise `name` or `name:en`.
class: class:
description: | description: |
At the moment only `lake` since no ocean parts are labelled. *Reserved for future use*. Distinguish between `lake`, `ocean` and `sea`.
values: values:
- lake - lake
- sea
- ocean
intermittent: intermittent:
description: | description: |
Mark with `1` if it is an [intermittent](http://wiki.openstreetmap.org/wiki/Key:intermittent) lake. Mark with `1` if it is an [intermittent](http://wiki.openstreetmap.org/wiki/Key:intermittent) lake.