Update Performance water_name Layer (#1513)

Improved update performance of water_name layer
- Implemented diff updates for update_water_lakeline.sql and update_water_point.sql
- Unified update_water_lakeline.sql and update_water_point.sql to update_water_name.sql
- Refactored IDs to be unique in water_name_marine.osm_ids
- Restricted updates to INSERT and UPDATE operations during water_name_marine.refresh
- Added analyze statements before update queries during water_name_marine.refresh
This commit is contained in:
benedikt-brandtner-bikemap
2023-03-22 21:28:21 +01:00
committed by GitHub
parent b2a57b3755
commit d937705292
5 changed files with 223 additions and 221 deletions

View File

@@ -35,8 +35,7 @@ layer:
query: (SELECT osm_id, geometry, name, name_en, name_de, {name_languages}, class, intermittent FROM layer_water_name(!bbox!, z(!scale_denominator!))) AS t
schema:
- ./update_marine_point.sql
- ./update_water_lakeline.sql
- ./update_water_point.sql
- ./update_water_name.sql
- ./water_name.sql
datasources:
- type: imposm3