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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:49:55+00:00 2026-05-24T21:49:55+00:00

I am making store locator application. In my application i am showing nearest store

  • 0

I am making store locator application. In my application i am showing nearest store to given latitude and longitude. i am getting my current lan. and lot.

I have xml file on server containing all information of stores and latitude and longitude. What i am thinking to connect application with that xml file and gets nearest stores according to given coordinates.
Now problem is how can i get nearest stores to given coordinates.

I have heared about haversine formula but how can i use that formula to get nearest stores from xml file?
or if there is other way please suggest

  • 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-24T21:49:56+00:00Added an answer on May 24, 2026 at 9:49 pm

    If i were you i would parse all the file to get the list of stores. classed by X and then Y.

    Then to get the list of the closest shops just take them in the list.

    I’m pretty sure you won’t be able to get the shops on the fly without parsing your file.

    Another way is to send a request to the server wich answer you with only the closer shops! Every task made on a portable device such as an iphone cost much time and battery than if it was done on the server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making and tablet application to a store, and the application needs to have
A website that I'm working on is making extensive use of the HttpContext.Current.Application store
I am making an application in which I have to store data from remote
I have completed the MVC Music Store application, and now am making my own
Consider a grocery store scenario (I'm making this up) where you have FACT records
I'm making a hit counter. I have a database and I store the IP
I am working on making an application that will store information, and for user
I am making the small finance management website in php. I have to store
I am making a small iPhone application in which I have implemented the database
I'm making an application which uses OpenGL and currently store an array of objects

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.