Narrative:

I was the pilot of aircraft X; a piper archer; departing from ZZZ. I monitored the CTAF during run-up and taxi. I visually checked for arriving and pattern traffic and announced my intention to takeoff on runway xx with a departure to the east. No aircraft were visible and there were no aircraft reporting on CTAF. I performed a normal takeoff and while climbing on runway heading I received a audible traffic advisory from my ads-B which indicated an aircraft was 200 ft. Above me. I had not reached pattern altitude. I immediately stopped my climb and scanned for the traffic. I observed a high wing aircraft less than 200 ft. Overhead and less than 50 yards to my left. The aircraft was heading westbound and was only slightly offset from the runway at ZZZ. I altered my course to the right. Once clear of the conflict; I continued my climb to pattern altitude and contacted buffalo approach to report my position and request flight following. I believe the other aircraft was on a visual approach to land at ZZZ1; which is close to ZZZ. The pilot of the other aircraft essentially directly overflew ZZZ runway xx at pattern altitude causing a significant potential conflict. Most of my flight time has been spend operating at ZZZ and I have never experienced an incident like this; so I believe it is isolated. I think the pilot of the other aircraft should have been mindful of the airports and airspace surrounding ZZZ1 and should have avoided flying over ZZZ at pattern altitude. Workload depending; approach should consider advising arriving aircraft to ZZZ1 when they will directly overfly a satellite airport at less than 500 feet above pattern altitude. This does not relieve the pilot's responsibility to see and avoid; but is an added precaution.

Google
 

Original NASA ASRS Text

Title: PA-28 Pilot reported a NMAC during takeoff with an aircraft transitioning the airport traffic area.

Narrative: I was the pilot of Aircraft X; a Piper Archer; departing from ZZZ. I monitored the CTAF during run-up and taxi. I visually checked for arriving and pattern traffic and announced my intention to takeoff on Runway XX with a departure to the east. No aircraft were visible and there were no aircraft reporting on CTAF. I performed a normal takeoff and while climbing on runway heading I received a audible traffic advisory from my ADS-B which indicated an aircraft was 200 ft. above me. I had not reached pattern altitude. I immediately stopped my climb and scanned for the traffic. I observed a high wing aircraft less than 200 ft. overhead and less than 50 yards to my left. The aircraft was heading westbound and was only slightly offset from the runway at ZZZ. I altered my course to the right. Once clear of the conflict; I continued my climb to pattern altitude and contacted Buffalo Approach to report my position and request flight following. I believe the other aircraft was on a visual approach to land at ZZZ1; which is close to ZZZ. The pilot of the other aircraft essentially directly overflew ZZZ Runway XX at pattern altitude causing a significant potential conflict. Most of my flight time has been spend operating at ZZZ and I have never experienced an incident like this; so I believe it is isolated. I think the pilot of the other aircraft should have been mindful of the airports and airspace surrounding ZZZ1 and should have avoided flying over ZZZ at pattern altitude. Workload depending; Approach should consider advising arriving aircraft to ZZZ1 when they will directly overfly a satellite airport at less than 500 feet above pattern altitude. This does not relieve the pilot's responsibility to see and avoid; but is an added precaution.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.