mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
ignore places without housenumber in interpolations
fixes trac ticket 5311
This commit is contained in:
@@ -689,7 +689,7 @@ BEGIN
|
||||
-- one with the smallest id because the original node was created first.
|
||||
-- Ignore all nodes marked for deletion. (Might happen when the type changes.)
|
||||
select * from placex where osm_type = 'N' and osm_id = waynodes[nodeidpos]::BIGINT
|
||||
and indexed_status < 100
|
||||
and indexed_status < 100 and housenumber is not NULL
|
||||
order by (type = 'address'),place_id limit 1 INTO nextnode;
|
||||
IF nextnode.place_id IS NOT NULL THEN
|
||||
|
||||
|
||||
Reference in New Issue
Block a user