forked from hans/Nominatim
ignore broken data in interpolation table
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user