News for hackers. Stuff that matters.
Re:The Galaxy S4 has a Barometer by diroussel on Friday March 15, 2013 @09:21AM (#5380436)
If you have line-of-sight to only three GPS satellites then you don't have enough information to compute your altitude [1]. If you can see four satelites, the altitude can be computed.

edit: spelling

[1] http://gis.stackexchange.com/questions/12866/why-does-gps-po...

Re:The Galaxy S4 has a Barometer by StavrosK on Friday March 15, 2013 @10:48AM (#5380849)
If you have line-of-sight to three GPS satellites, you can compute all three of your coordinates (one will be impossible and can be ruled out), assuming you have an atomic clock locally. If you're like most of us and don't, then you need a fourth (and fifth, and sixth, and seventh) satellite for timing adjustments. Until then, you'll get no fix.
Re:The Galaxy S4 has a Barometer by Retric on Friday March 15, 2013 @11:16AM (#5381022)
You don't need a local atomic clock for fairly accurate positioning using 3 satellites it just takes longer. Basically, what you need to know is distance from each satellite and an atomic clock let's you find that directly. However, GPS satellites are moving so much faster than you that at over time you narrow down the possible distances involved fairly quickly. Though this does take a lot of processing and is not on any consumer device I know of.

Also of note, phones get a reasonable fix using base towers which can speed up GPS calculations though I don't know of any phone that does this.

Re:The Galaxy S4 has a Barometer by correctifier on Friday March 15, 2013 @11:28AM (#5381080)
Almost all phones do use the base tower to speed up getting a fix with Assisted GPS: http://en.wikipedia.org/wiki/List_of_devices_with_Assisted_G...
Re:The Galaxy S4 has a Barometer by archivator on Friday March 15, 2013 @09:44AM (#5380542)
Just tried it out and my phone doesn't report any position (however inaccurate) if it's only seeing 3 satellites. Also, although it's possible in principle, I doubt the timing information on a consumer phone is accurate enough to get a possible fix from 3 data points.
Re:The Galaxy S4 has a Barometer by cjg_ on Friday March 15, 2013 @09:44AM (#5380544)
Ah, yes of course :)