views:

215

answers:

2

Hi, Is it possible to get the names of the location using core location. What actually i need is that. when my app starts i need to display the name of the place where i am currently in. Any idea.? please Help.

Thanks in advance, Shibin

+1  A: 

The Geonames webservices can be found here and are free and great for doing this sort of thing.

corprew
yes i got it. thanks
Shibin Moideen
A: 

Corelocation only provides the GPS coordinates, it doesn't geocode.

You can use the MapKit framework and the MKReverseGeocoder class Be careful, according to Google's terms of service for the mapkit, this class must be used with a google map.

Alternatively, if you don't want to implement a Google Map, you could use another reverse geocoding service. I never tried this, so I couldn't recommend a specific one, but they are some which are free.

You could also implement a database with GPS coordinates and names (could be found for some countries i guess) and do the job on the device if you don't want to use an internet connection.

That's the only possibilities I see, i think it's all, but the CoreLocation Framework doesn't do this.

Julien
Yeah, corprew's answer is an example of what you could use for the two options without Google Map, it looks good.
Julien