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

  • Home
  • SEARCH
  • 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 7933513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:21:25+00:00 2026-06-03T21:21:25+00:00

I am using the Bing Maps SOAP Service, GeocodeService in my web application, to

  • 0

I am using the Bing Maps SOAP Service, GeocodeService in my web application, to reverse geocode a point on map (i.e. get country name from longitude and latitude). I need to get all the exact country names that the web service can return. I tried to get all the country names from here but for example ‘Macedonia, Former Yugoslav Republic of’ is returned of ‘FYRO Macedonia’ in the web service. Is there a way to get all exact country names possible that the web service can return since I need to store them in a database?

  • 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-03T21:21:27+00:00Added an answer on June 3, 2026 at 9:21 pm

    brute force? (you may miss vatican city, but I’d expect you’d get the others, it will also spend a lot of time trying to geocoding oceans)

            GeoServiceReference.GeocodeServiceClient client = new GeoServiceReference.GeocodeServiceClient();
    
            var countries = new List<string>();
    
            for (double lat = 0; lat < 360; lat+=0.1)
                for(double lon = 0; lon < 360; lon+=0.1)
            {
                var result = client.ReverseGeocode(new GeoServiceReference.ReverseGeocodeRequest
                {
                    Location = new GeoServiceReference.Location
                    {
                        Latitude = lat,
                        Longitude = lon
                    }
                });
    
                if (!countries.Contains(result.Results.First().Address.CountryRegion))
                {
                    Console.WriteLine(result.Results.First().Address.CountryRegion);
                    countries.Add(result.Results.First().Address.CountryRegion);
                }
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application using Bing Maps that draws polygons on a map. For
I am using imagery service to get an image from bing maps, and from
I am using the Silverlight Bing Maps control in an application. There is a
I'm using Bing Maps, and with CSS I'm styling the HTML-elements to get customized
Hi I am using a bing maps 7.0 ajax api to display map. I
I am using the Silverlight sdk for Bing Maps. I have my map, I
I'm following this example for connecting to the Bing Maps geocode service: Link About
I am trying to parse out a Reverse Geo-location using Bing Maps. http://www.microsoft.com/maps/isdk/ajax/ Find
I have created a Silverlight Application project using the Bing Maps Silverlight Control and
Is it possible to draw a road using bing maps js api? Ideally I

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.