58 Commits

Author SHA1 Message Date
stirringhalo
373a28e7ad Add building heights (#56)
* Add better support for 3d buildings

Change key from "levels" to "building:levels" as the "levels" key is non-standard and sees much less use than "building:levels"

* Fix typo in sql definition and missing render_min_height

* Add render_height and min_height to building.yaml

* Simplify the render, switch numeric to int.

Assume min_height cannot be negative. There are a few examples in overpass, but can't show below ground anyways in mapbox (https://github.com/mapbox/mapbox-gl-js/issues/3456). Also don't attempt to fix min_height>height

* Remove colour as it is not currently used
2016-11-26 20:26:27 +01:00
ImreSamu
7a0ec0e40d add layer_building etldoc comments 2016-11-09 23:39:44 +01:00
lukasmartinelli
0379bde353 Simplify building layer 2016-10-30 16:30:55 +01:00
lukasmartinelli
ca28a0ac24 Document building 2016-10-28 20:53:38 +02:00
lukasmartinelli
9c50026f16 Remove osm_id in vector tiles coz of huge size savings 2016-10-25 19:15:51 +02:00
lukasmartinelli
f3b316a300 Round render height as int 2016-10-24 15:44:09 +02:00
lukasmartinelli
908e6dc68c Use buildings from imposm3 mapping. 2016-10-10 19:35:07 +02:00
lukasmartinelli
480d720585 Move to new modular layer structure 2016-10-09 21:27:09 +02:00