Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have longitude and latitude data. I need to reverse geocode to get city, state, country data separately.

I have checked google service.

Google provides complete address to a micro level. Separation into city, state, country seems not possible.

Any suggestions?

share|improve this question

1 Answer 1

Looks like the Google reverse geocoding API will break it down for you, take a look at this result:

http://maps.googleapis.com/maps/api/geocode/xml?latlng=40.714224,-73.961452&sensor=false

If you switch out xml with json, you can get json instead. Another option could be the Nominatim service, which also returns either xml or json.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.