I know nothing about this so it is purely speculation, but my first thought would be that it simply wouldn’t work.
But from a purely mathematical standpoint, the gps receiver would probably be able to see the satellites just fine, so assuming that worked, it could triangulate its position as the point on earth closest to them (the middle of the globe from their perspective), and then just give them an extremely high altitude.
That said, I know consumer technology (I believe they are using an iPhone) automatically turns off gps if it detects you are flying at a high enough speed, to prevent you from using it to guide a missile.
I know nothing about this so it is purely speculation, but my first thought would be that it simply wouldn’t work.
But from a purely mathematical standpoint, the gps receiver would probably be able to see the satellites just fine, so assuming that worked, it could triangulate its position as the point on earth closest to them (the middle of the globe from their perspective), and then just give them an extremely high altitude.
That said, I know consumer technology (I believe they are using an iPhone) automatically turns off gps if it detects you are flying at a high enough speed, to prevent you from using it to guide a missile.
It should work, NASA is working on it. https://www.nasa.gov/directorates/somd/space-communications-navigation-program/nasa-successfully-acquires-gps-signals-on-moon/