X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5d69c7ade1938818484bb81f36ec12c64e79bf9d..d711f5a81e6d02926cefe5c9c94bcf1d8f375b11:/lib-sql/functions/address_lookup.sql?ds=inline diff --git a/lib-sql/functions/address_lookup.sql b/lib-sql/functions/address_lookup.sql index 5ec977d1..45e49750 100644 --- a/lib-sql/functions/address_lookup.sql +++ b/lib-sql/functions/address_lookup.sql @@ -135,20 +135,6 @@ BEGIN END IF; {% endif %} - -- then additional data - {% if config.get_bool('USE_AUX_LOCATION_DATA') %} - IF place IS NULL THEN - SELECT parent_place_id as place_id, 'us' as country_code, - housenumber, postcode, - 'place' as class, 'house' as type, - null as name, null as address, - centroid - INTO place - FROM location_property_aux - WHERE place_id = in_place_id; - END IF; - {% endif %} - -- postcode table IF place IS NULL THEN SELECT parent_place_id as place_id, country_code,