revert importing of housenumber interpolations

This commit is contained in:
Sarah Hoffmann
2026-02-18 20:01:15 +01:00
parent b71543b03b
commit abd5cbada6
15 changed files with 242 additions and 344 deletions

View File

@@ -53,10 +53,8 @@ BEGIN
-- See if we can inherit additional address tags from an interpolation.
-- These will become permanent.
FOR location IN
SELECT address as address
FROM place_interpolation
WHERE p.osm_id = any(place_interpolation.nodes)
AND address is not NULL AND not address ? 'housenumber'
SELECT address FROM place_interpolation
WHERE ARRAY[p.osm_id] && place_interpolation.nodes AND address is not NULL
LOOP
result.address := location.address || result.address;
END LOOP;