In case any building is erected, constructed, reconstructed, altered, repaired, converted or maintained, or any building or land is used in violation of this chapter, the city, or any person who would be damaged by such violation, in addition to other remedies, may institute an action for injunction, or mandamus, or other appropriate action or proceeding to prevent such violation.