Survey of ortho-H2D+in high-mass star-forming regions