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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:55:04+00:00 2026-06-11T18:55:04+00:00

I have a Google map area for which routing is undefined. It is the

  • 0

I have a Google map area for which routing is undefined. It is the campus for my university. I want to some two more buildings to it and some polylines to define the roads as the roads are not shown on the map. Then I will apply A* algorithm to find the shortest route between one polyline to the other. The map will be available to an android application for mobile. In its basic state the application updates the location of the user. The user can request to go to the faculty of engineering for example. Now how will I know where he is, i mean what is the source for the route, the closest polyline? Is this the way things are done? Thank you.

  • 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-11T18:55:05+00:00Added an answer on June 11, 2026 at 6:55 pm
    1. Use OpenStreetMap data; you can join OSM as a contributor and add buildings, roads and other things to the map. OpenStreetMap is a sort of Wikipedia but with maps, not encyclopaedia articles.

    2. Download and process the OpenStreetMap data for your campus: get all the polylines usable as routes; sort their points; identify points common to more than one polyline – they are nodes; create a directed graph of arcs joining these nodes.

    3. Implement the A* algorithm using the directed graph. A* is definitely the best algorithm to use; fast, correct and well documented.

    4. Use a GPS device (on which your code is running) to find out where your user is. GPS gives positions in lat/long; OpenStreetMap data is also in lat/long; so that should work fine.

    This will naturally involve some research and hard work. I guarantee it will do what you want, because I have done this myself (commercially – I won’t link to my product because I have been rapped on the knuckles for that; but I naturally claim that doing something commercially imposes a certain discipline). There is plenty of open-source software to help with these things. In particular, the A* algorithm is explained very well on Wikipedia.

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

Sidebar

Related Questions

I have a Google Map which contains a circle area. I want to know
I have a Google V3 map which uses steetView and some map markers. The
I have embedded a Google Map in my website. I want to change its
i have a multiple marker Google map, it works fine but i want set
I have an application with a Google Map, an Area Chart, and an accordion
My Google Map (v3) renders two types of markers: An area marker (Your home
I have a Google Map on one web page where I want to disable
I have a google map using V3 of the API. It has one marker
I have a google map that takes and put coordinates from input fields .
I have a Google Map on the webpage with markers on it that has

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.