It shall be unlawful for any person to erect or maintain any building or structure which encroaches upon any public street or property, or to erect any poles or wires or to maintain any poles or wires over any public place, street, alley, or other public way, without having first secured a permit from the city clerk in the manner specified in this article.