ttb, some of the Garmin units (430, 530 I believe) already have something like this, though I believe it requires transponders and to be painted by radar in order for them to get the data.
Been a while since I used a unit like that (and recall turning it off in because of too many false alerts), so someone with more recent experience might be able to enlighten us.