Reorder POI data update and trigger creation to avoid refresh of materialized view on initial import (#780)

Reorder POI data update and trigger creation to avoid refresh of materialized view after update done by initial import.

I checked the other updates and there are OK.
This commit is contained in:
Frédéric Rodrigo
2020-04-22 09:03:10 +02:00
committed by GitHub
parent 2ca55abb7d
commit 8f9770e546
3 changed files with 5 additions and 5 deletions

View File

@@ -146,10 +146,10 @@ layer:
query: (SELECT osm_id, geometry, name, name_en, name_de, {name_languages}, class, subclass, agg_stop, layer, level, indoor, rank FROM layer_poi(!bbox!, z(!scale_denominator!), !pixel_width!)) AS t
schema:
- ./public_transport_stop_type.sql
- ./update_poi_polygon.sql
- ./update_poi_point.sql
- ./class.sql
- ./poi_stop_agg.sql
- ./update_poi_polygon.sql
- ./update_poi_point.sql
- ./layer.sql
datasources:
- type: imposm3