views:

140

answers:

6

Hi everyone, as I am developing for iPhone, I've just bought an iPhone 4 to test my application which needs to measure the coordinates of my location. I don't have any Internet (3GS, GPRS or whatever...) on my iPhone and the problem is:

1) Without internet I get a 1744m horizontal accuracy, and that's very bad. (I've also tested the accuracy in other applications too, and it is always so bad or worser)

2) With WiFi-Internet I get a 80m horizontal accuracy.

Is that normal? What can I do to improve my coordinates-measurement accuracy?

Thanks in advance for any help.

+3  A: 

Yes, this is normal. To improve accuracy, you can move somewhere with a clear view of the sky.

unbeli
Yeah. I've just realized that. Thx
jcdmb
+2  A: 

From my experience you need cellular data reception (3G or Edge) to get an accurate location on any iPhone. With that and a clear view of the sky you should be able to get within a few meters of your actual location.

Wow. I moved only 5 steps, and now I got a 5m accuracy. Thanks a lot for helping :)
jcdmb
+1  A: 

First thing I'd advise is make sure you have a clear view of the sky to get a good satellite signal.

Andy Evans
A: 

I learned recently that the phone needs to download a batch of coordinate files in order to make any real sense of the GPS data it picks up. So without an internet connection, GPS service is very poor or possibly completely unavailable.

I'd bet your poor accuracy with WiFi is because you were indoors... That's my guess anyway.

Dan Ray
this is false. all the data the phone needs to utilize GPS is contained within the GPS data stream. It will just take up to 12 minutes. The data it gets from the internet allows it to start up in seconds.
rmeador
Hm. Learned wrong. Still, I was surprised to find out that internet connectivity has any impact on GPS performance. I didn't realize they were tied together at all.
Dan Ray
A: 

I think that it is becoming somewhat "accepted" that the iPhone's GPS accuracy is somewhat lacking (in comparison to other handhelds)... I had to search through my history, but I remembered reading about this very issue on Hacker News - http://news.ycombinator.com/item?id=1526664.

If you don't want to follow the thread, here is the article directly - http://rnr.davidlokshin.com/post/825290568 .

mattezell
A: 

I wrote an app that makes use of the gps and displays the accuracy. I tested it in the city -> accuracy between 30 - 2000m. I think it depends on the buildings around...

GPS to SMS

Vitrex