Any city may acquire, by purchase or by the right of eminent domain, a free and unobstructed view down and across lands located at or near intersections or curves of streets, railroads or railways to assure a free and unobstructed view in all directions at the intersections or curves and to prevent the use of the lands over and across which the view was acquired for any purpose or in any manner which may interfere with or obstruct the vision of any person traveling upon any street within the city.