structural:reformatting
Rail

Yogyakarta was first served by rail in 1872. The city is located on one of the two major railway lines that run across Java between Jakarta in the west and Surabaya in the east.

Yogyakarta has two passenger railway stations, Yogyakarta Station which serves business and executive class trains, and Lempuyangan Station which serves economy class trains; both stations are located in the centre of the city. Yogyakarta Station is the terminus of two commuter train services: KRL Commuterline Yogyakarta–Solo, which runs to Solo Balapan Station in the city of Surakarta and Prambanan Express (Prameks), which runs to Kutoarjo Station in Kutoarjo. Other commuter trains run from Madiun Jaya (Madiun Station -Lempuyangan Station), and Joglosemar (Semarang Poncol Station -Lempuyangan Station). Yogyakarta International Airport Rail Link links Yogyakarta International Airport to the city center.