For sniping in Team Fortress 2, a few maps stand out: 2Fort, Well, Hydro, Badwater Basin, and Gorge are all considered strong choices. They tend to offer good long sightlines and plenty of prime perches for a patient sniper.
The key is to make the most of those open distances while staying alert. Rocket-jumping Soldiers and Sticky-jumping Demomen can close the gap fast, so always keep an escape route in mind. Happy sniping!