The relationship between solar wind entry processes and transpolar arc formation