The 272-kilometer-long Udhampur-Baramulla railway project, which cost Rs 37,012 crores, will connect Baramulla in north Kashmir to the rest of the country via train.