s/tab/in the eye/
Bonus debug tests.
Mr Tab has proven to be quite an adversary.
Working rewrite of fetch_all_nearest_by_Feature using the API rather than SQL statements. Partially tested but needs some finessing and comments.