By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
7 rows affected
| id | lonlat | neighbours |
|---|---|---|
| 1 | (10.111,20.415) | {3} |
| 3 | (10.11,20.414) | {1} |
| 11 | (12.111,20.415) | {12} |
| 12 | (12.112,20.415) | {11,13} |
| 13 | (12.113,20.414) | {12} |