The Mahakam River flows 610 miles from the highlands of the Isles to its mouth in Makassar Strait. The city of Samarinda, the provincial capital, lies along the river 30 miles from the river mouth.