55 Commits

Author SHA1 Message Date
Yuri Astrakhan
9d6dbfc64f
Use one pass docs image generation (#751)
quicker and cleaner diagram image generation.
Remove etl-graph and mapping-graph targets - redundant

Also, the obsolete "fields" is still in Imposm's code and both names are accepted,
but "fields" is not documented anywhere (PR submitted), and could be removed at any moment.

Our docs were not supporting it until this PR, so renaming it at the same time.

Several images have been updated due to a more inclusive mapping scan
Requires https://github.com/openmaptiles/openmaptiles-tools/pull/147 (merged)
2020-01-22 21:55:22 -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
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
7a3ac079ae Add intermittent field to water* layers (#430 PR #585) 2019-05-24 13:21:43 +02:00
jirik
24caa53b92 Import more ocean and sea labels
Related to #434
2018-04-11 17:16:19 +02:00
jirik
5c67f2769e Add st_isvalid check to imposm3 generalized tables
Fix #386
2018-01-31 17:24:05 +01:00
jirik
3cee3c7f80 Update diagrams 2017-12-04 12:06:28 +01:00
jirik
35786ee64c Add osm_id as key of water_name 2017-12-04 10:53:26 +01:00
jirik
d2a81bd1da Show more (and do not remove) seas with increasing zoom level
Fix #275
2017-11-20 17:26:55 +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
893918761c Fix SQL update logic (patch from 3.6.2) 2017-08-01 09:12:15 +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
jirik
74d8a2da1f Improve doc of mountain_peak and water_name 2017-03-27 08:20:39 +02:00
jirik
75f76ab935 Increase buffer of place and water_name to 256 2017-03-21 15:30:44 +01: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
Lukas Martinelli
a865d6c970 Merge branch 'master' into imposm3_filter_reject_require 2017-01-18 15:39:40 +01:00
Lukas Martinelli
5b430f4b83 Remove commented out code 2017-01-18 15:06:24 +01:00
Lukas Martinelli
7f4ca37a6a Do not show seas at z0 2017-01-18 10:19:39 +01:00
stirringhalo
153976735f ST_PointOnSurface instead of topoint 2017-01-17 09:03:40 -05:00
Lukas Martinelli
14dc0f0926 Limit sea/ocean labels by rank 2017-01-16 16:40:39 +01:00
Lukas Martinelli
1df806ba44 Merge NE marine rank 2017-01-16 16:23:22 +01:00
Lukas Martinelli
7400b552c2 Add seas and oceans to water_name 2017-01-16 16:00:45 +01:00
Lukas Martinelli
2d586bb47a Merge pull request #131 from openmaptiles/trigger_tables_sql
Daily updates
2017-01-16 09:38:47 +01:00
stirringhalo
e71311a8d8 Have to change name on trigger so they don't overwrite each other... 2017-01-11 22:46:24 -05:00
stirringhalo
31e0466b67 Disable concurrent refresh as its problematic. 2017-01-11 16:31:47 -05:00
stirringhalo
beda951863 Change log notice for water_point 2017-01-11 16:12:11 -05:00
stirringhalo
18110d8ca6 Do not refresh osm_water_point concurrently
"Create a unique index with no WHERE clause on one or more columns of the materialized view."
2017-01-11 13:05:50 -05:00
stirringhalo
4c1ea3e4b1 Refresh concurrently and create materialized views with data. 2017-01-07 22:26:09 -05:00
ImreSamu
40884b9976 imposm3 mapping change to the new reject/require syntax 2017-01-07 14:55:08 +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
Lukas Martinelli
f6a7e4ec92 Improve docs of water and water_name 2017-01-05 16:36:55 +01:00
stirringhalo
c5d4c1ea80 Fix the name of triggers, cannot be schema-qualified 2017-01-04 17:56:51 -05:00
stirringhalo
2fd3be1403 Use schemas to update on commit, untested 2017-01-04 16:59:42 -05:00
stirringhalo
35a5ba1ade Lakelines refresh once at commit time. 2017-01-04 15:53:58 -05:00
stirringhalo
3c4205055b Refresh concurrently 2017-01-04 11:49:14 -05:00
stirringhalo
2ef6a19149 when create materialized do so without data, better logging 2017-01-04 01:03:00 -05:00
stirringhalo
0c1da27294 Fix pile of syntax issues 2017-01-03 23:35:39 -05:00
stirringhalo
53c29f65cd fix semicolon 2017-01-03 23:21:52 -05:00
stirringhalo
c64170d9be Initial materialized views and triggers 2017-01-02 18:31:24 -05:00
stirringhalo
8b30e5ddc2 Add cascade to drops 2016-12-28 18:19:54 -05:00
stirringhalo
f98ade427e Drop tables to force redo on update
Reorder
2016-12-28 18:17:18 -05:00
ImreSamu
f5ac3def5e etldoc fixes 2016-12-04 02:52:52 +01:00
Lukas Martinelli
ec5a0aa15f Map sea and ocean from OSM 2016-12-01 10:47:50 +00:00
Lukas Martinelli
be349acd58 Fix etl doc issues with z14 2016-12-01 10:11:03 +00:00
Lukas Martinelli
6bc06a683a Show water names without centerlines 2016-11-29 19:13:38 +00:00