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 5944141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:29:44+00:00 2026-05-22T16:29:44+00:00

I am developing an application which is storing places in database. The problem is:

  • 0

I am developing an application which is storing places in database.

The problem is:

I have a main view of map, then I click add place button. The button goes to standard form which contains name, description and coordinates. Coordinates I am taking from map and changing to string. Then it saves in SQLite database.

But I have no idea how use geocoordinates from DB, because they are strings, not a GeoCoordinates, and simply I can’t use them to for example pushpin with binding data

  • 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-05-22T16:29:45+00:00Added an answer on May 22, 2026 at 4:29 pm

    Considering there is no GeoCoordinate.Parse() method and assuming your string representation comes from GeoCoordinate.ToString(), you could use something like this:

    public GeoCoordinate ParseGeoCoordinate(string input)
    {
        if (String.IsNullOrEmpty(input))
        {
            throw new ArgumentException("input");
        }
    
        if (input == "Unknown")
        {
            return GeoCoordinate.Unknown;
        }
    
        // GeoCoordinate.ToString() uses InvariantCulture, so the doubles will use '.'
        // for decimal placement, even in european environments
        string[] parts = input.Split(',');
    
        if (parts.Length != 2)
        {
            throw new ArgumentException("Invalid format");
        }
    
        double latitude = Double.Parse(parts[0], CultureInfo.InvariantCulture);
        double longitude = Double.Parse(parts[1], CultureInfo.InvariantCulture);
    
        return new GeoCoordinate(latitude, longitude);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I m developing an application in WP7 for storing the location which I have
I am developing an application in which I am using database and storing that
When developing an application which mostly interacts with a database, what is a good
I am developing an application which will be connected to Access database at the
I'm developing an application which currently have hundreds of objects created. Is it possible
I'm developing an application which will be storing user sensitive data. My issue is
I'm developing an application which will have these classes: class Shortcut { public string
I am developing an application in which I am storing call log details from
I am currently developing iPad application which involve retrieving information from webservice and then
I'm developing a Java web application on GAE platform in which I'm storing an

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.