Popular legend has William F. “Buffalo Bill” creating the town of Cody, Wyo. as a tourist oasis to help share the wonder of Yellowstone with the world. But the truth is that Cody was founded at the site of a canyon that proved ideal for building a dam that was key to Buffalo Bill’s ambitious plan to irrigate 400,000 acres between the Shoshone River and the Bighorn Mountains.