Commercial drones are programmed to include the location of airports to keep them out of the flight path of planes. If a drone flies too near an airport, the instructions of its pilot are overridden, and the drone’s programming requires it either to fly away or to land — a technique called geofencing.