Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7983477
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T10:58:05+00:00 2026-06-04T10:58:05+00:00

It is convenient to use – reverseGeocodeLocation:completionHandler: method to Reverse Geocoding a Location. But

  • 0

It is convenient to use “– reverseGeocodeLocation:completionHandler:” method to Reverse Geocoding a Location. But how to obtain all locations in a region.

ps. If there are several places in a region. How could I use the region information to find out all the places? Such as reverse geocoding a location, given a coordinate, return a location. Here I wanna give a region, return all locations in the region.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T10:58:06+00:00Added an answer on June 4, 2026 at 10:58 am

    There is a google Geocoder API which returns JSON , It is just a kind of a web service which uses GET method

    And This is the Google Gecoder API and This is the link for that web service and in this link i have given the region name as london.

    Note: You need to include SBJson library to your code.

    At the end of that link i have appended address, if you append address- you need to give the region name (or) if you append latitude and longitude, you need to give coordinates and it will return the results accordingly.

    And the code for calling google api will be like this

                    //Call the Google API
                    NSString *req = [NSString stringWithFormat:@"http://maps.google.com/maps/api/geocode/json?sensor=false&address=%@", esc_addr];
                    NSLog(@"The get address is %@", req);
                    //Pass the string to the NSURL
                    NSString *result = [NSString stringWithContentsOfURL:[NSURL URLWithString:req] encoding:NSUTF8StringEncoding error:NULL];
                    NSLog(@"The result is %@", result);
                    //Initialize the SBJSON Class
                    SBJSON *parser = [[SBJSON alloc] init];
                    NSError *error = nil;
                    //Get the resullts and stored in the address array
                    addressArray = [parser objectWithString:result error:&error];
                    //Get the latitude values for the given address
                    NSDictionary *dict = [[[addressArray valueForKey:@"results"] valueForKey:@"geometry"] valueForKey:@"location"];
                    self.latitudeValue = [[dict valueForKey:@"lat"] objectAtIndex:0];
                    self.longitudeValue = [[dict valueForKey:@"lng"] objectAtIndex:0];
                    NSLog(@"LAT : %@",self.latitudeValue);
                    NSLog(@"LONG : %@",self.longitudeValue);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I like the convenient output form method {{ form.as_ul }} but is there a
I found CGPathCreateCopyByStrokingPath on iOS 5.0 quite convenient to use but it is available
I have several procedures that use the FileSystemObject. I find it's quite convenient. Question:
Sometimes it`s not convenient to use standart activity methods for creating ContextMenu (because there
I'm looking for a convenient way to use jQuery to remove all classes from
I use a lot of eclipse shortcuts, but for some tasks there arnt any
I usually use "" + i for convenient. But compare about perfomance myself, I
It is convenient for me to use a set. I like how I can
I want to use L2E since it's very convenient to my company's apps, I
Is there a convenient way to calculate percentiles for a sequence or single-dimensional numpy

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.