mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
@@ -271,7 +271,7 @@ class NearSearch(AbstractSearch):
|
|||||||
"""
|
"""
|
||||||
table = await conn.get_class_table(*category)
|
table = await conn.get_class_table(*category)
|
||||||
|
|
||||||
t = conn.t.placex.alias('p')
|
t = conn.t.placex
|
||||||
tgeom = conn.t.placex.alias('pgeom')
|
tgeom = conn.t.placex.alias('pgeom')
|
||||||
|
|
||||||
sql = _select_placex(t).where(tgeom.c.place_id.in_(ids))\
|
sql = _select_placex(t).where(tgeom.c.place_id.in_(ids))\
|
||||||
|
|||||||
Reference in New Issue
Block a user