Homelink based on vehicle heading for gates

When I approach our neighborhood gate - homelink opens it based on GPS location.  When I leave the neighborhood it also opens the gate if I don't push the button to skip.  It would be great if I could add a heading - N,E,S,W, etc that would automatically ignore the homelink going in that direction.