Three railway safety projects in Iowa, one in Polk County, one in Clay County and another in Merrill will get $15.3 million in federal grants.