An aircraft crossing the face of the moon lasts well under a second, and it is only visible from a narrow strip of ground. Photo Events finds that strip. It ray-traces the aircraft’s “shadow” from the moon or sun onto the WGS84 ellipsoid using the JPL ephemeris, and draws where a transit will be visible on a map.
Next are live ADS-B tracking, to plan around real flights, and a corridor model built from logged tracks, to find where transits happen often.