Engineering of railroads and roads