[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

What is the best way to architect a "find nearest" location-aware application on the iPhone?

Asked by devvy in iPhone, GIS & GPS Programming, Navigational Systems

Tags: Location Aware, GPS, iPhone, Core Location

I would like to build a location-aware application that automatically detects a user's location and presents them a sorted list of the nearest landmarks from a landmark database. The application will be built on the iPhone.

The fundamental questions are:

1. How to calculate the distances to nearby landmarks and sort by "closest"
2. Where to perform the calculations - on an external server via a web service - or on the iPhone itself via an SQLite database and/or Core Location

Ideally, the application would calculate the distances using "routed distance" as opposed to crow-flies distance (i.e. greater circle distance formula), being the more accurate method. Of course with this comes a cost - it will be much slower to calculate. I would like to know what method would be most appropriate.

Also, the advantage of performing the calculations on the phone itself (using Core Location?) is that there is no need for talking to a server (faster) and the app may be used without an internet connection. The disadvantage lies in the difficulty of keeping the landmark database synchronized with the newest data.

I would like to know if there is an industry standard way of implementing a location-aware application such as this. If not, please suggest the best possible solution to the problem.
[+][-]07/28/09 01:18 AM, ID: 24958727Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625