NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I want to know that if it is possible to find out the coordinates of route between two positions. eg. if i have starting and ending position and osm suggests a path, but also provide the gps coordinates of route/waypoint.

asked 25 Sep '19, 13:13

vsaadnet's gravatar image

vsaadnet
459913
accept rate: 0%


What you want is a routing engine. That's a server to which you send a start and end location, and get back a - textual or geometric - route description. There is free software to do that, e.g. "graphhopper" and "OSRM", so you can set up a server yourself. If you just need a few, and not thousands, of routes, you can use at graphhopper.com or routing.openstreetmap.de. Note that there are many possible routes between two points, and these servers will usually try to find the fastest but can also be parameterised differently.

permanent link

answered 25 Sep '19, 13:51

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

I was able to use graphhopper and extract path coordinates, but can you guide me about how i can use these points to plot a path on google maps or any other engine using Python

(26 Sep '19, 05:56) vsaadnet
1

You could save the coordinates as a GeoJSON file and upload it to umap.openstreetmap.fr to make it visible.

(26 Sep '19, 07:26) Frederik Ramm ♦

thank you for your guidance, I just checked out how OSRM is actually working, One issue I am still facing is an updated and reliable source to follow, on how to setup my own server in ubuntu, can you help me with that?

(03 Oct '19, 07:47) vsaadnet
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×144
×78
×9
×2

question asked: 25 Sep '19, 13:13

question was seen: 5,239 times

last updated: 03 Oct '19, 07:47

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum