Four classes of railroads, seven classes of roads and paths, and three types