Commit 74359d4
authored
Update filter.py
haversine distance expects it's tuples to have latitude first and longitude second. Changing the order of the tuple results in incorrect values for the distance. I've flipped the lists from [lon, lat] to [lat, lon]1 parent 685e8fe commit 74359d4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
0 commit comments