 Ogilvie articled as a surveyor with Robert Sparks, qualifying to practice as a Provincial Land Surveyor in 1869.He married Sparks' sister Mary, a school teacher, on March 8, 1872.He worked locally as a land surveyor, qualified as a Dominion Land Surveyor in 1872 and was first hired by the Dominion government in 1875.