mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
ignore places without housenumber in interpolations
fixes trac ticket 5311
This commit is contained in:
@@ -95,6 +95,9 @@ def _format_placex_cols(cols, geomtype, force_name):
|
||||
else:
|
||||
coords = "'%s'::geometry" % coords.wkt
|
||||
cols['geometry'] = coords
|
||||
for k in cols:
|
||||
if not cols[k]:
|
||||
cols[k] = None
|
||||
|
||||
|
||||
def _insert_place_table_nodes(places, force_name):
|
||||
|
||||
Reference in New Issue
Block a user