Wykres commitów

94 Commity (c9e7ad90c6ded3a65d0f13082ac1dac2048b375d)

Autor SHA1 Wiadomość Data
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 e6e92036a0
Use _resolve_wikidata in layer mapping.yaml (#731)
Mark all tables that should not be populated with the Wikidata
international labels with a special OMT-specific flag.

This should be ok to merge even before the new tools version
is used because imposm seems to ignore anything it doesn't understand.

The next tools version will remove it when generating imposm mapping file.
2020-01-21 09:43:21 -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 02c202e2f7
Revert "Remove the area condition on highway polygon." 2019-12-11 22:22:59 +01:00
François de Metz cf219c1e09
Include only polygons and multipolygons highways on zoom >= 13. 2019-11-05 12:31:54 +01:00
Taro Matsuzawa af7f96ac94 fix typo: hourse -> horse 2019-11-03 14:36:06 +09: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 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
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
zstadler 2738c649ca Fix typos 2019-10-26 22:52:14 +03:00
zstadler 556bfb889d
Merge branch 'master' into bicycle-foot-horse-mtb_scale 2019-10-25 16:09:44 +03:00
golubev 4251701858 layers/transportation/class.sql: fix up empty value issue (#321) 2019-10-07 14:15:45 +03:00
golubev e74bfb67b4 update transportation layers doc (#321) 2019-10-04 15:19:56 +03:00
golubev 81c90be19b layers/transportation/: fix SQL mistakes, modify indices (#321) 2019-10-04 14:00:14 +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
Dalibor Janák b9c8de3fbb
Merge pull request #620 from eva-j/aerialway
Adding aerialway=gondola
2019-05-20 13:42:40 +02:00
Eva J ed0d63804c update of tag lists, documentation 2019-05-17 14:28:13 +02:00
Eva J 7a167142eb add aerialway=gondola 2019-05-16 13:44:50 +02:00
Eva J 54d0fbc78c adding aerialway=chair_lift,t-bar,rope_tow 2019-05-15 16:37:58 +02:00
zstadler 2357bde1b9 Add bicycle, foot, horse, and mtb_scale to the transportation layer
Resolve https://github.com/openmaptiles/openmaptiles/issues/422
Resolve https://github.com/openmaptiles/openmaptiles/issues/512
Resolve https://github.com/openmaptiles/openmaptiles/issues/602

An extended and refined alternative to https://github.com/openmaptiles/openmaptiles/pull/573
2019-04-08 00:08:21 +03: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 765d6fbc76 Add line piers 2018-11-07 16:19:19 +01:00
jirik 4304c756ad Add polygon piers 2018-11-07 16:19:19 +01:00
Joakim Kronqvist 7ec9e49a44 Only group transportation name based on language tags 2018-11-07 11:08:06 +01:00
jirik dba6e7025f Improve doc, update diagrams 2018-04-27 13:41:32 +02:00
Jiri Kozel fce0ba1ce1
Add layer attribute to transportation (#441)
Fix #280
2018-04-11 15:28:23 +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
Frédéric Rodrigo b211beafe2 Use direction as type for oneway, support oneway-opposite #376 2018-01-16 10:29:07 +01:00
jirik 455f36e634 Fix highway_class function 2017-11-20 18:59:45 +01:00
jirik e95f2d476b Add layer, level, and indoor tags for footways and steps 2017-11-09 10:13:53 +01:00
jirik 1f129c4184 Add subclass of paths in transportation 2017-11-09 08:51:14 +01:00
jirik 7792b81a02 Add more polygon paths to transportation 2017-11-09 08:51:14 +01:00
jirik 1cdf726384 Add platforms to transportation as paths 2017-11-09 08:51:14 +01:00
jirik 68785c1a21 Add shipping ways (ferries) to transportation 2017-11-08 16:28:30 +01:00
jirik 634de5e474 Add aerialways (cable cars) to transportation 2017-11-08 16:28:30 +01:00
jirik 137667b235 Create subclass attribute of railways 2017-11-08 16:00:13 +01:00
jirik 98aba61b05 Show narrow gauges sooner 2017-11-08 16:00:13 +01:00
jirik ed90400fef Show rails and light rails sooner 2017-11-08 16:00:13 +01:00
jirik 893918761c Fix SQL update logic (patch from 3.6.2) 2017-08-01 09:12:15 +02:00
jirik 3bb8a4bdde Fix #269 ETL diagram 2017-07-20 19:41:56 +02:00
jirik 1b01399e1d Update diagrams 2017-06-12 18:13:09 +02:00
Jiri Kozel 881e1c0881 Show railways one level sooner (#270)
* Adjust st_length filter based on zres in transportation layer

Probably related to #258

* Adjust building tolerance

* Show railways one level sooner
2017-05-31 15:28:06 +02:00
Jiri Kozel 8a44e72328 Adjust st_length filter based on zres in transportation layer (#259)
Probably related to #258
2017-05-23 16:54:59 +02:00
Jiri Kozel 555825486f Adjust tolerance for transportation and water (#257) 2017-05-23 11:55:45 +02:00
Jiri Kozel a9b9c79a4b Fix #250 for zoom 9+ (#256) 2017-05-23 11:11:19 +02:00