X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7fcbe13669e0b4b5d7748c69c02d42678adbf518..b62dbd1f921b7e50b034ae8fd9349fb6b32af658:/nominatim/api/results.py diff --git a/nominatim/api/results.py b/nominatim/api/results.py index b504fefa..ae1ae4ac 100644 --- a/nominatim/api/results.py +++ b/nominatim/api/results.py @@ -435,7 +435,8 @@ def create_from_country_row(row: Optional[SaRow], centroid=Point.from_wkb(row.centroid), names=row.name, rank_address=4, rank_search=4, - country_code=row.country_code) + country_code=row.country_code, + geometry=_filter_geometries(row)) async def add_result_details(conn: SearchConnection, results: List[BaseResultT],