San Marcos will spend $340,000 to study whether it's feasible to repair Cape’s Dam, an aging structure on the San Marcos River that has been the subject of community debate for the past decade.