mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-22 21:28:10 +03:00
ignore broken data in interpolation table
This commit is contained in:
parent
36d068871d
commit
e158017086
@ -209,6 +209,7 @@ class ReverseGeocoder:
|
||||
t.c.linegeo.ST_Distance(wkt).label('distance'),
|
||||
t.c.linegeo.ST_LineLocatePoint(wkt).label('position'))\
|
||||
.where(t.c.linegeo.ST_DWithin(wkt, distance))\
|
||||
.where(t.c.startnumber != None)\
|
||||
.order_by('distance')\
|
||||
.limit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user