Sounds like geography more than geology. As for making geography work for him there was no better Civil War General than Stonewall Jackson.
Yeah, FWIW, I’d agree with that, his masterpiece being Chancellorsville (which was also his swan song); there were other generals perhaps similarly gifted though, like Sherman; NB Forrest comes to mind (although he seemed to be gifted on a lot of different types of ground :’); Meade has been vilified (mostly starting back at that time, due to a Senator from Michigan who disliked him, plus Meade had very poor relations with the press) but Meade was a great counterpuncher, took the best available ground at Gettysburg, and made Lee come to him for battle; for that matter, Lee and his staff at Fredericksburg had been in the same situation, but of course, versus an inferior opposing general in Burnside.
(Physical) geography is largely based on the underlying geology. Geology determines terrain, and together with climate (and human activity) controls vegetation.