kopia lustrzana https://github.com/openmaptiles/openmaptiles
23 wiersze
1.3 KiB
YAML
23 wiersze
1.3 KiB
YAML
layer:
|
|
id: "building"
|
|
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
|
|
this is welcomed.
|
|
buffer_size: 4
|
|
datasource:
|
|
query: (SELECT geometry, render_height, render_min_height, colour, hide_3d FROM layer_building(!bbox!, z(!scale_denominator!))) AS t
|
|
fields:
|
|
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.
|
|
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.
|
|
colour: |
|
|
Colour
|
|
hide_3d: |
|
|
If True, building (part) should not be rendered in 3D. Currently, [building outlines](https://wiki.openstreetmap.org/wiki/Simple_3D_buildings) are marked as hide_3d.
|
|
schema:
|
|
- ./building.sql
|
|
datasources:
|
|
- type: imposm3
|
|
mapping_file: ./mapping.yaml
|