The zoning changes take aim at San Francisco’s older and less desirable office buildings as well the city’s premier retail Union Square corridor.