Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-24-2008, 11:32 AM   #20 (permalink)
rhuettl
Registered Member
 
Join Date: Aug 2008
Location: Germany, Munich
Posts: 246
rhuettl is on a distinguished road
Default

Here is some further info about accuracy coming from locationmanager:

1st call => Giving the last location (old one for example from the maps app)
2nd call => Giving a new location but very inaccurate!
3rd call => Giving a new location with better acuracy

Further calls can give more accuracy but they are time consuming (the fourth call is statistically takeing more time!) and there is no guarantee that the accuracy is better then the third call!

I think maps app is handling three calls (very fast and a hopefully good accuracy)

And there is my old (other problem) that there is NO GUARANTEE thet gps is called more than three times - sometimes it does sometimes not. I did not found out when/why ...

My strategy is to run it three times and:
- if the accuracy is better than 20 meters i return (result good)
- if the three calls are gone and the accuracy is better than 100 meters i return (bad but good enough to use)
- if the three calls are gone and the accuracy is bader than 100 meters i take the last known location and the user is able to retry it

Ralf

Last edited by rhuettl; 10-24-2008 at 11:42 AM.
rhuettl is offline   Reply With Quote
 

» Advertisements
» Online Users: 416
15 members and 401 guests
Chickenrig, dinoclaud, Domele, EvilElf, flamingliquid, Gaz, iconomania, ilmman, JavierEPease, M0schinO, poke, raymng, Techknol, UconnAggie, Warblr
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,590
Threads: 94,083
Posts: 402,776
Top Poster: BrianSlick (7,990)
Welcome to our newest member, JavierEPease
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:07 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.