Yuri Astrakhan
11f4856d48
Add simplified water materialized views ( #739 )
...
Move materialized view creation from the tools repo.
This PR should be merged before the https://github.com/openmaptiles/openmaptiles-tools/pull/115
Merge the other PR shortly after this one to avoid doing the same work twice - first creating simplified table, then dropping it and recreating them as materialized views.
2020-01-20 12:12:19 -05:00
Yuri Astrakhan
1d91b9ef6e
Noop: tag sql MAT VIEWS with a special comment ( #733 )
...
Tag all SQL materialized views with a machine-readable comment
to indicate that this materialized view can be created without
data:
/* DELAY_MATERIALIZED_VIEW_CREATION */
In the next version of tools this comment can be optionally
replaced with the "WITH NO DATA" parameter, thus allowing
a much faster execution of the SQL script. All materialized
viewes will be populated with data in parallel afterwards
using the `refresh-views` tools script.
2020-01-20 12:02:49 -05:00
Yuri Astrakhan
1614a4656c
Manage field mapping in SQL declaratively
...
Simplify some of the OSM->OMT field value mappings using declarative syntax.
This approach is not for all cases, but in many it removes
the need of storing the same field in both the .yaml and .sql files.
TODO: support more complex AND/OR cases
2019-12-19 11:25:29 -05:00
Eva Jelinkova
9f00db0245
Merge pull request #747 from eva-j/water_z4
...
Change NE source of lakes in zoom 4
2019-12-19 11:31:12 +01:00
Eva J
4c43c6ea3b
add data types for boundary_z0
2019-12-18 19:31:28 +01:00
Eva J
c40e092381
lakes z4
2019-12-18 09:14:47 +01:00
Yuri Astrakhan
358939e912
etl graph update, add graph test to travis ( #741 )
...
* etl graph update
re-ran `make generate-devdoc` which updated landuse graph
* Add travis test to check docs are up to date
2019-12-16 08:37:34 -05:00
Eva Jelinkova
afb9ccfa84
Merge pull request #730 from eva-j/723_water_sources
...
Changing ocean data source in z6-7
2019-12-12 19:05:27 +01:00
Eva Jelinkova
dae8e055ae
Merge pull request #720 from lun/add-garages
...
Add garages
2019-12-12 19:04:26 +01:00
Eva Jelinkova
d82ede81ce
Merge pull request #727 from eva-j/disp_borders_rel
...
Disputed borders - adding relations with claimed_by
2019-12-12 19:03:06 +01:00
Eva J
8ff4a5acb4
changing ocean data source in z6-7
2019-12-12 12:44:32 +01:00
Eva J
6381451964
just newlines
2019-12-12 09:48:35 +01:00
Eva Jelinkova
02c202e2f7
Revert "Remove the area condition on highway polygon."
2019-12-11 22:22:59 +01:00
Eva Jelinkova
a049d88db8
Merge pull request #721 from frodrigo/building_poly
...
Filter building on polygons
2019-12-11 17:55:02 +01:00
Eva J
fee22d4eb9
adding disp. relations into z1-4
2019-12-11 12:05:42 +01:00
Eva J
0181513b1a
2 attributes, generalization in mapping, edit unions
2019-12-10 19:48:24 +01:00
Eva J
fd940684eb
relation member values, diagrams
2019-12-10 08:49:54 +01:00
Eva Jelinkova
b97d6de626
Merge pull request #718 from frodrigo/golf_grass
...
Add leisure=golf_course, map it to grass
2019-12-09 15:21:07 +01:00
Eva J
89815c04cf
mapping_diagram update
2019-12-09 14:48:52 +01:00
Frédéric Rodrigo
e0c8ece375
Filter building index on polygons
2019-12-09 11:03:21 +01:00
Eva J
a05228381a
add relations with claimed_by
2019-12-07 12:18:06 +01:00
golubev
7f591ffebc
update the 'layers/landuse/mapping_diagram.png'
2019-12-06 19:48:56 +02:00
golubev
1247972951
merge master into add-garages
2019-12-06 19:40:12 +02:00
Frédéric Rodrigo
f916e29be0
Add leisure=golf_course, map it to grass
2019-11-29 13:43:10 +01:00
Eva J
b62619c00c
etl_diagram update
2019-11-27 12:50:24 +01:00
Eva J
60b4a4cebc
removing ne_10m source
2019-11-27 11:51:15 +01:00
Eva Jelinkova
9bfdefca31
Merge pull request #708 from eva-j/637_webmerc_area
...
Removing webmerc_area field from mapping.yaml
2019-11-26 15:46:28 +01:00
Eva Jelinkova
dfaf8e3cc8
Merge pull request #713 from eva-j/621_landuse_dam
...
Adding waterway=dam to landuse layer
2019-11-26 15:39:21 +01:00
Eva J
fcee8571fb
adding waterway=dam
2019-11-20 18:05:07 +01:00
Yuri Astrakhan
39dcfc2072
Fix missing description for the new brunnel field ( #709 )
2019-11-19 14:47:34 -05:00
Eva J
90c4854184
removing webmerc_area
2019-11-19 16:36:00 +01:00
Eva J
062e2c89b0
adding disputed for NE sources
2019-11-07 18:07:15 +01:00
Eva J
11c07bfbed
waterway - edit docs
2019-11-06 16:40:37 +01:00
Eva Jelinkova
67672de287
Merge pull request #646 from osmontrouge/refactor-landcover
...
Add a subclass column from the mapping_value to clean the landcover layer
2019-11-05 19:24:55 +01:00
François de Metz
cf219c1e09
Include only polygons and multipolygons highways on zoom >= 13.
2019-11-05 12:31:54 +01:00
Eva Jelinkova
6ea4cde691
Merge branch 'master' into refactor-landcover
2019-11-05 12:02:37 +01:00
Eva Jelinkova
3f65811cda
Merge pull request #663 from frodrigo/more_grass
...
Map fell, heath, scrub and tundra like grassland, as 'grass'
2019-11-05 10:00:35 +01:00
Eva Jelinkova
f440fa53bc
Merge pull request #679 from QwantResearch/upstream-water
...
add brunnel info for water
2019-11-04 18:32:55 +01:00
golubev
fd120ff8ca
layers/transportation_name/mapping_diagram.png: update the diagram
2019-11-04 14:25:11 +02:00
golubev
8a5541a78e
merge master into add-garages
2019-11-04 13:48:18 +02:00
Sergii Golubev
8dcb8a3192
close #657 : limit mountain_peak's 'ele' tag to 10000 ( #658 )
...
* close #657 : limit mountain_peak's 'ele' tag to 10000
* layers/mountain_peak/layer.sql: implement a more elegant 'ele' filter
2019-11-04 06:14:55 -05:00
golubev
05e77f6870
merge master into add-garages
2019-11-04 13:12:34 +02:00
Taro Matsuzawa
af7f96ac94
fix typo: hourse -> horse
2019-11-03 14:36:06 +09:00
Frédéric Rodrigo
a2917a9323
Map fell, heath, scrub and tundra like grassland, as 'grass'
2019-11-02 21:14:51 +01:00
Yuri Astrakhan
73c7290893
Updated mapping diagrams to match changes in landcover & transportation
...
These were forgotten to check in. We should add validation to the tests
to make sure all values are up to date.
2019-11-01 22:40:39 -04:00
Eva Jelinkova
dff9a850a6
Merge pull request #675 from Sophox/nyurik-patch-1
...
Fix err in transportation update_gbr_route_members
2019-10-31 22:46:37 +01:00
Eva Jelinkova
bdeb6c8b2e
Merge branch 'master' into bicycle-foot-horse-mtb_scale
2019-10-31 18:52:12 +01:00
Eva Jelinkova
c5b58057cb
Merge pull request #677 from lun/321-highway-construction
...
Add roads under construction
2019-10-31 18:42:11 +01:00
Eva Jelinkova
e7aa43d91b
Merge pull request #662 from frodrigo/dune
...
Support natural=dune aside of beach and sand
2019-10-29 15:00:20 +01:00
Yuri Astrakhan
0374d4d047
insert non-null osm_id
2019-10-28 12:35:08 -04:00