openmaptiles/layers/park
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
..
README.md Update diagrams 2017-12-04 12:06:28 +01:00
etl_diagram.png Fix park layer ETL diagram (#1278) 2021-10-25 08:12:17 -04:00
mapping.yaml Implement park rendering at z4-5 (#1160) 2021-09-01 07:20:52 +02:00
mapping_diagram.png Upgrade to omt-tools v6, Imposm 0.11.1 and migrate SQL (#1246) 2021-10-14 11:38:28 -04:00
park.sql Remove blank name tags (#1307) 2021-11-18 18:27:19 +01:00
park.yaml Rename generic layer.sql to actual_layer_name .sql (#1034) 2020-11-09 11:43:35 +02:00
update_park_polygon.sql Implement non-blocking refresh (#1308) 2021-11-24 11:17:29 +01:00

README.md

park

Docs

Read the layer documentation at http://openmaptiles.org/schema#park

Mapping Diagram

Mapping diagram for park

ETL diagram

ETL diagram for park