Online Path Planning Framework for UAV in Rural Areas