Some 60 km south of Jakarta, Bogor is the "bo" of the massive Jabotabek conurbation, with 600,000 people or so of its own. Located 290 meters above sea level, Bogor is noticeably cooler than the torrid lowlands. The town was the capital of Indonesia during the brief British occupation, and under the name Buitenzorg was also the summer capital of the Dutch in the hot dry season.
Eksekutif-class trains depart Jakarta's Kota station, with a stop in Gambir, roughly hourly. Ekonomi-class trains depart Jakarta's Kota station every 20 minutes or so, but can be crowded beyond belief and do not stop in Gambir.
The Table Of angkot and bemo route: http://www.kotabogor.go.id/fasilitas.php?info=angkot&submenu=0203&lang=id