add 'search_nearest' column to Layer for layer queries