Wykres commitów

72 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 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
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
Yuri Astrakhan bf833dcd45
Merge pull request #655 from frodrigo/chocolate
Remove duplicate POI class match on chocolate and confectionery
2019-10-25 23:43:44 -04:00
Yuri Astrakhan 84daa0ea1d Merge zstadler/openmaptiles/patch-1 into master
Rebasing onto the latest changes in origin/master,
resolving merge conflict.
2019-10-23 13:24:20 -04:00
Frédéric Rodrigo dedc1fd91f Remove duplicate POI class match on chocolate and confectionery 2019-08-12 22:30:44 +02:00
Dalibor Janák 2920ffd4da
Merge pull request #578 from nlehuby/ski_resorts
Add ski resorts to poi and landuse layers
2019-05-20 13:40:58 +02:00
Dalibor Janák 0ecfe3bd63
Merge branch 'master' into patch-3 2019-05-20 13:17:43 +02:00
zstadler d2f78cc346
Remove second occurance of `camp_site` subclass
The `camp_site` subclass is assigned to the `campsite` class by an earlier statement"
```sql
WHEN subclass IN ('camp_site','caravan_site') THEN 'campsite'
```
2019-05-18 08:26:15 +03:00
Eva J 664bc7da28 adding dormitories 2019-05-17 17:28:20 +02:00
zstadler 53976b154d
Avoid long repeated text in poi mapping file
The `fields` and `mapping` sections for `poi_point` and `poi_polygon` are the same, and must be the same for the SQL to work properly.

Using definitions avoids repetition and the need to make each change in these sections twice, as was already done for the subsections of `mapping`
2019-04-18 01:04:07 +03:00
Eva Jelinkova b0ee2a9c90
adding parking 2019-04-11 21:11:34 +02:00
Noémie 1731464db8 Add ski resorts to poi and landuse layers 2019-01-27 14:30:21 +01:00
Phyks (Lucas Verney) 56f282b17d Add bicycle/motorcycle parkings as POIs 2019-01-04 16:53:58 +01:00
Jiri Kozel bb00b4e53f
Add type of sport as subclass of pitch (#532) 2018-11-12 14:37:00 +01:00
nlehuby 7e50695631 Add layer, level, and indoor tags for poi 2018-11-05 10:08:31 +01:00
nlehuby b28ea79d4c add aquarium to the poi layer 2018-06-11 11:18:16 +02:00
nlehuby f93c175e47 Remove duplicates on shop and art POI class 2018-03-29 16:15:27 +02:00
Jiri Kozel 8ac85dced6
Remove park and cemetery duplicates from POI rank
Based on f3e2d7f163 (commitcomment-28180665)
2018-03-26 14:34:37 +02:00
Jiri Kozel d48b623eda
POI: remove doctors from hospital class
Related comment: https://github.com/openmaptiles/openmaptiles/issues/387#issuecomment-358273945
2018-01-29 18:38:49 +01:00
jirik a6ccbfd876 Update POI diagram 2018-01-12 17:41:57 +01:00
Noémie 5c740f8570 Add a few missing POIs (#391)
* Add a few missing POIs

* hackerspace
* escape room
* subway and station entrance
* frozen food (shop)
2018-01-12 15:56:06 +01:00
Noémie Lehuby 761d8eb889 update doc
to add religion as subclass on poi layer
2018-01-12 15:47:31 +01:00
nlehuby 225a0f6fd9 add religion as subclass for place_of_worship 2018-01-12 15:47:31 +01:00
jirik afa85ea37e Add osm_id as key of POI 2017-12-04 10:53:26 +01:00
jirik 741be6d921 Import additional names from Wikidata 2017-11-16 09:03:41 +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
jirik 543b0315b2 Add agg_stop indicator to transit stations (POI) 2017-11-09 11:46:32 +01:00
jirik 1c2ce970fd Distinguish type of information point (POI) 2017-11-09 11:46:32 +01:00
jirik d300dbca48 Distinguish aerial way stations from other stations (POI) 2017-11-09 11:46:32 +01:00
jirik b633626335 Add castles and ruins to POI 2017-11-09 11:46:32 +01:00
jirik cf79b928d0 Publish funicular stations as halts 2017-11-09 11:46:32 +01:00
jirik 21f5f1717b Show ferry terminals sooner 2017-11-09 11:46:32 +01:00
jirik a0a6e2d438 Show railway halts sooner 2017-11-09 11:46:32 +01:00
jirik 9cec6e1a10 Show railway stations sooner 2017-11-09 11:46:32 +01:00
nlehuby 183f730814 Fix class for amenity = doctors
and add amenity =clinic
2017-10-30 16:13:16 +01:00
jirik 893918761c Fix SQL update logic (patch from 3.6.2) 2017-08-01 09:12:15 +02:00
jirik 1b01399e1d Update diagrams 2017-06-12 18:13:09 +02:00
Jiri Kozel 51bc8fad35 Multilinguality (#279)
Improve multilinguality: names in 57 languages, name:latin, name:nonlatin, name_int. Fixes #211 #252 #80.

See #279 for more info.
2017-06-12 17:53:47 +02:00
Jiri Kozel 9584f69035 Rail stations 2 (#255)
* rail stations

* Create 'railway' POI class with 'station' and 'halt' subclasses

* Introduce subway stops as POI

* Revert unwanted changes in .env and openmaptiles.yaml

* Remove halt key from documentation

* Distinguish aeroway and railway station, add tram_stop
2017-05-23 17:06:23 +02:00
Eduard Popov 0a26d2be99 Housenumber and POI calc optimisation (#247)
Using NPoints(Centroid) = NPoints, thanks edpop
2017-05-21 21:01:31 -04:00
jirik 038d4d5224 Add name_de to documentation 2017-03-17 13:15:40 +01:00
jirik 4c6d30066d Add German names (name_de), unify English names (name_en) 2017-03-17 12:56:54 +01:00
stirringhalo 153976735f ST_PointOnSurface instead of topoint 2017-01-17 09:03:40 -05:00
Lukas Martinelli 2d586bb47a Merge pull request #131 from openmaptiles/trigger_tables_sql
Daily updates
2017-01-16 09:38:47 +01:00
stirringhalo cda3af9215 Change SELECT to PERFORM in function and drop triggers first 2017-01-06 20:33:43 -05:00
stirringhalo 9437a1b8d6 Make the sql rerunnable without error 2017-01-05 12:47:10 -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