15 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
golubev
4251701858 layers/transportation/class.sql: fix up empty value issue (#321) 2019-10-07 14:15:45 +03:00
golubev
0636466cfd layers/transportation/: differentiate roads under construction (#321) 2019-10-04 13:08:49 +03:00
golubev
45a50a5bd0 layers/transportation/: add 'highway=construction' roads (#321) 2019-10-03 14:17:44 +03:00
golubev
8d9a5df48b layers/transportation/: do a tiny code styling (#321) 2019-10-03 14:10:36 +03:00
Eva J
ed0d63804c update of tag lists, documentation 2019-05-17 14:28:13 +02:00
Phyks (Lucas Verney)
da00063e0d Add surface field for highways
Keep surface field from OSM on highways, generalize it to two values:
"paved" and "unpaved".

This is a fix for #389 and a partial fix for #422.
2019-01-09 15:59:32 +01:00
jirik
455f36e634 Fix highway_class function 2017-11-20 18:59:45 +01:00
jirik
1cdf726384 Add platforms to transportation as paths 2017-11-09 08:51:14 +01:00
jirik
ca1b9a95a8 Adjust zoom levels of transportation layer, stop using ne_10m_roads source 2017-03-15 11:05:16 +01:00
Lukas Martinelli
2250d140df Add missing classes for raceway, bridleway, corridor #82 2016-12-02 11:12:59 +00:00
Lukas Martinelli
79e6f57ad7 Use only ne_10m_roads from Natural Earth #81 2016-12-01 14:23:14 +00:00
Lukas Martinelli
d932fb96b3 Limit service values 2016-11-30 13:19:17 +00:00
Lukas Martinelli
a04d5776e6 Use ClearTables scheme for classes 2016-11-28 11:01:43 +00:00