How is the GPS connection established?

The GPS connection is established only in open spaces.

All satellite navigation is based on signals received from space, thus accuracy depends largely on the number of visible satellites.