Phil Ginsburg, the general manager of the San Francisco Recreation and Parks Department for the past 16 years, will leave his position by year’s end, the department announced Monday. The president and director of the foundation earns $512,796, while Ginsburg gets paid $372,573 from the city. Despite the troubles preceding his departure, Ginsburg’s department consistently rates as one of the city’s best and most popular: San Francisco parks are routinely ranked as one of the highest-rated public services in resident surveys. “He turned that around.”Prior to Ginsburg’s tenure, the Recreation and Parks Department was a laughingstock among city departments. “Maybe there will be a ‘Phil Ginsburg Park’ before too long,” said Jaye.