kopia lustrzana https://github.com/openmaptiles/openmaptiles
Document building
rodzic
90f2203e7c
commit
ca28a0ac24
5
Makefile
5
Makefile
|
@ -1,4 +1,4 @@
|
|||
all: build/openmaptiles.tm2source/data.yml build/mapping.yaml build/tileset.sql layers/railway/README.md layers/boundary/README.md layers/water/README.md
|
||||
all: build/openmaptiles.tm2source/data.yml build/mapping.yaml build/tileset.sql layers/railway/README.md layers/boundary/README.md layers/water/README.md layers/building/README.md
|
||||
|
||||
build/openmaptiles.tm2source/data.yml:
|
||||
mkdir -p build/openmaptiles.tm2source && generate-tm2source openmaptiles.yaml --host="postgres" --port=5432 --database="openmaptiles" --user="openmaptiles" --password="openmaptiles" > build/openmaptiles.tm2source/data.yml
|
||||
|
@ -18,5 +18,8 @@ layers/boundary/README.md:
|
|||
layers/water/README.md:
|
||||
generate-doc layers/water/water.yaml --diagram layers/water/mapping > layers/water/README.md
|
||||
|
||||
layers/building/README.md:
|
||||
generate-doc layers/building/building.yaml > layers/building/README.md
|
||||
|
||||
clean:
|
||||
rm -f build/openmaptiles.tm2source/data.yml && rm -f build/mapping.yaml && rm -f build/tileset.sql && rm -f layers/**/README.md&& rm -f layers/**/*.png
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# building
|
||||
|
||||
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.
|
||||
|
||||
## Fields
|
||||
|
||||
- **render_height**: An approximated height from levels and height of building after the method of Paul Norman in [OSM Clear](https://github.com/ClearTables/osm-clear). For future 3D rendering of buildings.
|
||||
|
||||
|
||||
|
|
@ -1,13 +1,14 @@
|
|||
layer:
|
||||
id: "building"
|
||||
description: |
|
||||
All [OSM Buildings](http://wiki.openstreetmap.org/wiki/Buildings).
|
||||
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 geom FROM layer_building(!bbox!, z(!scale_denominator!))) AS t
|
||||
fields:
|
||||
render_height: |
|
||||
An approximated height from levels and height of building after the method of Paul Norman in [OSM Clear](https://github.com/ClearTables/osm-clear)
|
||||
An approximated height from levels and height of building after the method of Paul Norman in [OSM Clear](https://github.com/ClearTables/osm-clear). For future 3D rendering of buildings.
|
||||
schema:
|
||||
- ./building.sql
|
||||
datasources:
|
||||
|
|
Ładowanie…
Reference in New Issue