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

How do we calculate distance between two coordinates?

I have seen the http://project-osrm.org/docs/v5.15.2/api/#table-service but I do not know the distances result output, how it should be interpreted.

I already looked up the internet for days but still no answer . Hoping someone could assist me. Thanks in advance.

asked 26 Oct '21, 01:20

genesislubrigas's gravatar image

genesislubrigas
11111
accept rate: 0%

1

What distance do you need? Straight line or along a route?

(26 Oct '21, 03:08) InsertUser

Hi. thanks for replying on my question. Yes, along a route of those two coordinates.

(26 Oct '21, 04:09) genesislubrigas

This is not my answer, but I found it in OSM Forum. Hope this will help you. I think http://www.movable-type.co.uk/scripts/latlong.html is a good resource

permanent link

answered 27 Oct '21, 05:46

Chemmangat%20Hari's gravatar image

Chemmangat Hari
111
accept rate: 0%

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:

×63

question asked: 26 Oct '21, 01:20

question was seen: 5,347 times

last updated: 27 Oct '21, 05:46

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