28 Commits

Author SHA1 Message Date
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
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
Frédéric Rodrigo
f916e29be0 Add leisure=golf_course, map it to grass 2019-11-29 13:43:10 +01:00
Eva Jelinkova
6ea4cde691
Merge branch 'master' into refactor-landcover 2019-11-05 12:02:37 +01:00
Frédéric Rodrigo
a2917a9323 Map fell, heath, scrub and tundra like grassland, as 'grass' 2019-11-02 21:14:51 +01:00
Frédéric Rodrigo
c6a13981ba Support natural=dune aside of beach and sand 2019-08-31 14:30:42 +02:00
François de Metz
f4b56d00ae
Add a subclass column from the mapping_value to clean the landcover layer. 2019-07-28 12:36:01 +02:00
hanchao
51d4558ea8 add sand and beach 2018-02-01 09:25:38 +01:00
jirik
9d803af8e3 Update landcover's documentation 2017-11-08 13:58:01 +01:00
jirik
e1ab498936 Add gardens to landcover 2017-11-08 13:47:11 +01:00
stirringhalo
2c309d7632 Add bare_rock and scree to sql 2017-06-25 18:56:54 -04:00
stirringhalo
f6448f2501 Add landcover z7 2017-06-16 21:55:32 -04:00
jirik
70170b2e54 Add missing woods, fix openmaptiles/openmaptiles#167 2017-03-15 15:35:31 +01: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
5ec4f0766b Add zoom level range slots to landcover diagram 2016-12-01 08:29:34 +00:00
Lukas Martinelli
c1b1913c7c Fix wrong etl docs 2016-11-30 18:38:28 +00:00
Lukas Martinelli
2514f267a9 Fix usage of generalized tables in landcover 2016-11-30 18:30:56 +00:00
Lukas Martinelli
dd0ba38633 Fix always wetland subclass 2016-11-30 09:09:23 +00:00
Lukas Martinelli
9ba6a0bb0f Fix missing column issues with landcover and landuse 2016-11-30 09:06:40 +00:00
Lukas Martinelli
5ebb33575e Move public parks indicating grass to landcover 2016-11-29 19:38:02 +00:00
Lukas Martinelli
327bdc7313 Remove mappings from landcover and landuse 2016-11-28 19:16:00 +00:00
stirringhalo
4f795b6287 Quiet down 'has type unknown' 2016-11-15 23:37:41 -05:00
ImreSamu
9e27faf9e3 add etldoc to layer_landcover 2016-11-10 01:45:17 +01:00
lukasmartinelli
c85f60ff50 Try better landcover 2016-10-25 17:00:44 +02:00
lukasmartinelli
f65fded9f4 Introduce landcover classes 2016-10-24 14:27:57 +02:00
lukasmartinelli
2fdfa8aad2 Integrate ice into landcover 2016-10-24 09:51:19 +02:00
lukasmartinelli
ade28316bd Add landcover layer 2016-10-10 20:37:23 +02:00