kopia lustrzana https://github.com/openmaptiles/openmaptiles
![]() 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.  |
||
---|---|---|
.. | ||
aerodrome_label | ||
aeroway | ||
boundary | ||
building | ||
housenumber | ||
landcover | ||
landuse | ||
mountain_peak | ||
park | ||
place | ||
poi | ||
transportation | ||
transportation_name | ||
water | ||
water_name | ||
waterway |