openmaptiles/layers
Brian Sperlongano 0cff3449b5
Implement non-blocking refresh (#1308)
This PR implements non-blocking updates in the park layer.

The approach was to use the `REFRESH MATERIALIZED VIEW CONCURRENTLY` feature in postgres.  In order to achieve this, a unique index was added on the z4 dissolved park area table.  The `ST_Union` / `ST_Dump` sequence was changed to an explicit cluster DB scan (an equivalent operation) so that a unique osm ID could be generated from each dissolved polygon.

Below is a screen shot from Idaho, USA showing that the dissolved z4 still works as expected.

![image](https://user-images.githubusercontent.com/3254090/142341513-588045f0-7757-4acd-99e5-a50bbe6b0682.png)
2021-11-24 11:17:29 +01:00
..
aerodrome_label Upgrade to omt-tools v6, Imposm 0.11.1 and migrate SQL (#1246) 2021-10-14 11:38:28 -04:00
aeroway Upgrade to omt-tools v6, Imposm 0.11.1 and migrate SQL (#1246) 2021-10-14 11:38:28 -04:00
boundary Add requires.tables to <layer>.yaml (#1236) 2021-11-05 10:04:54 +01:00
building Suppress rendering of underground buildings (#1241) 2021-10-28 13:09:06 +02:00
housenumber Upgrade to omt-tools v6, Imposm 0.11.1 and migrate SQL (#1246) 2021-10-14 11:38:28 -04:00
landcover Add requires.tables to <layer>.yaml (#1236) 2021-11-05 10:04:54 +01:00
landuse Add requires.tables to <layer>.yaml (#1236) 2021-11-05 10:04:54 +01:00
mountain_peak adding customary_ft for peaks in US (#1298) 2021-11-15 16:55:35 +01:00
park Implement non-blocking refresh (#1308) 2021-11-24 11:17:29 +01:00
place add province, increase scalerank + labelrank (#1306) 2021-11-18 18:05:02 +01:00
poi Update etl diagram for poi layer (#1297) 2021-11-10 19:49:18 +01:00
transportation Selective rendering of tracks and paths at z12-13 (#1190) 2021-11-18 17:35:34 +01:00
transportation_name Selective rendering of tracks and paths at z12-13 (#1190) 2021-11-18 17:35:34 +01:00
water Add requires.tables to <layer>.yaml (#1236) 2021-11-05 10:04:54 +01:00
water_name Add requires.tables to <layer>.yaml (#1236) 2021-11-05 10:04:54 +01:00
waterway Waterway zoomlevel 6 - 8 corresponding with water (#1291) 2021-11-10 20:26:14 +01:00