mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
move get_addressdata() implementation to Python
The pgsql function get_addressdata() does a lookup of a lot of data that is already available in Python.
This commit is contained in:
@@ -187,6 +187,7 @@ BEGIN
|
||||
|
||||
-- --- Return the record for the base entry.
|
||||
|
||||
current_rank_address := 1000;
|
||||
FOR location IN
|
||||
SELECT placex.place_id, osm_type, osm_id, name,
|
||||
coalesce(extratags->'linked_place', extratags->'place') as place_type,
|
||||
|
||||
Reference in New Issue
Block a user