39 Commits

Author SHA1 Message Date
Yuri Astrakhan
9d6dbfc64f
Use one pass docs image generation (#751)
quicker and cleaner diagram image generation.
Remove etl-graph and mapping-graph targets - redundant

Also, the obsolete "fields" is still in Imposm's code and both names are accepted,
but "fields" is not documented anywhere (PR submitted), and could be removed at any moment.

Our docs were not supporting it until this PR, so renaming it at the same time.

Several images have been updated due to a more inclusive mapping scan
Requires https://github.com/openmaptiles/openmaptiles-tools/pull/147 (merged)
2020-01-22 21:55:22 -05:00
Yuri Astrakhan
c9e7ad90c6
Remove unneeded "else null" in conditions (#732)
Minor code cleanup:
SQL already returns NULL in the "WHEN" condition
if it is not matched by any of the cases.

Co-authored-by: Eva Jelinkova <evka.jelinkova@gmail.com>
2020-01-22 17:24:28 -05:00
Frédéric Rodrigo
e0c8ece375 Filter building index on polygons 2019-12-09 11:03:21 +01:00
Eva J
90c4854184 removing webmerc_area 2019-11-19 16:36:00 +01:00
Yuri Astrakhan
eca13f9bed
Refreshed all diagrams, fixed automation & 2 broken graphs (#692)
Seems like etl and mapping diagrams have been neglected
for a long time. Now it regenerates the files and places
them in the source dir.

This PR also fixes two broken files:
* layers/aerodrome_label/mapping_diagram.png
* layers/housenumber/mapping_diagram.png

They were generated using the newest tools version with the fix
https://github.com/openmaptiles/openmaptiles-tools/pull/65
2019-10-26 21:28:43 -04:00
Frédéric Rodrigo
4d43ee9136 Add colour to buildings (#555) 2019-05-24 11:09:09 +02:00
Jiri Kozel
f3f8b9804e
Improve 3D buildings (#533)
Add `hide_3d` building attribute to hide some building parts in 3D.

Fix #128
2018-11-14 15:26:24 +01:00
jirik
ff99a02aae Treat buildings with fault heights 2018-06-13 14:51:25 +02:00
Jiri Kozel
e6efe363ed
Add polygon bridges to transportation (#437) 2018-04-04 10:39:46 +02:00
jirik
5c67f2769e Add st_isvalid check to imposm3 generalized tables
Fix #386
2018-01-31 17:24:05 +01:00
jirik
3cee3c7f80 Update diagrams 2017-12-04 12:06:28 +01:00
Jiri Kozel
1a324aaf22
Do not load all tags, use later imposm3 (#356)
Fix #266 #267
2017-11-10 15:25:23 +01:00
Jiri Kozel
a5cf15bdbd Consider also buildings with levels=null 2017-10-31 09:52:45 +01:00
jirik
1195126c90 Fix #315: Prevent OSM valndalism on buildings 2017-10-31 09:52:45 +01:00
stirringhalo
237278eb84 Import street and associatedStreet to get the houses (#284)
* Import street and associatedStreet to get the houses

* Some artifcating on the associatedstreet and street member buildings
2017-06-18 10:16:57 -04:00
Jiri Kozel
6339fbb8f0 Adjust building tolerance (#264)
* Adjust st_length filter based on zres in transportation layer

Probably related to #258

* Adjust building tolerance
2017-05-29 15:08:10 +02:00
jirik
a68ccc42ee Adjust zres values for buildings,landcover and landuse
Decrease size of Belgium Z0-12 mbtiles from 63 MB to 38 MB
2017-05-22 19:03:44 +02:00
stirringhalo
90690d2a39 Switch to ZRes (#214) 2017-04-25 18:03:29 -04:00
Jiri Kozel
3e6495a134 Import both area and webmerc_area, use area for filtering (#198) 2017-03-24 16:46:21 +01:00
stirringhalo
e962ef1bb9 Cleanup mapping 2017-01-30 10:02:00 -05:00
stirringhalo
199095a2ba Major breakthrough, just some artifacting to resolve 2017-01-28 10:55:08 -05:00
Lukas Martinelli
f361d3d9fd Add better title to layer READMEs 2017-01-05 17:31:21 +01:00
Lukas Martinelli
8a9b1246d3 Link to openmaptiles.org for layer doc 2017-01-05 17:29:18 +01:00
stirringhalo
a271e8c70c Fix building, switch to geometry 2016-12-21 21:26:48 -05:00
stirringhalo
bab5c3d4b6 Switch from geom to geometry 2016-12-20 22:32:34 -05:00
ImreSamu
f5ac3def5e etldoc fixes 2016-12-04 02:52:52 +01:00
Lukas Martinelli
81b93d6a15 Map aeroway buildings implying building=yes 2016-12-02 10:59:31 +00:00
Lukas Martinelli
071201fe52 No render_height attributes on z13 2016-11-30 12:17:01 +00:00
Lukas Martinelli
a433e77818 Map building key into building table 2016-11-29 15:17:10 +00:00
Lukas Martinelli
70abe1685d Exclude building=no #69 2016-11-29 15:13:25 +00:00
Lukas Martinelli
a98ede7ab2 Remove generated docs from repo 2016-11-29 11:07:29 +01:00
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