views:

185

answers:

3

I want to create an application which retrieves the latitude and longitude value of the current position of the iphone, give those values to some 3rd party server and gets details about that place, if possible show a map of that area on an imageview. I've done for the part of getting the locale information, ie to get the latitude and longitude value. I don't know about the providers those who are serving for the latter part. If anyone knows about this, pls help.

+1  A: 

In case you're working with the 3.0 SDK, this page may help you on your way.

Mez
+2  A: 

You can use the CLLocationManager class to retrieve longitude and latitude, then use a MKMapView to render it.

Jacob Relkin
+2  A: 

If I understand correctly you have the long and lat of the phone from CoreLocation and you want a server to retrieve some information from based on that location. It's a bit of a broad question but here goes: If you want to build your own geo server, you should look at SimpleGeo. If you want to build something more complex, you are going to have to start building your own server. I would suggest Django-geo or if you have really specialised needs, the PostGIS extensions for Postgres as your foundation.

If you just want to build a simple test app, the Twitter geo apis are a good test bed.

Roger Nolan