As we're already using a spatial map, why not record all aircraft which pass at a certain distance (2km?). Additionally add an event to record when an encounter happens and when it ends.