A DJI Matrice M600 Pro was about to start a construction site survey. The drone was in an automated flight mode, with specific way points programmed for the job. Takeoff was normal. But at about 65 feet above ground level things turned sour. A GPS-compass error suddenly caused the aircraft to return to ATTI mode, which requires manual flight. The pilot and observer began frantically trying to initiate Return To Home, but the drone was drifting away with the wind. Soon it was out of sight and heading toward residential homes.