You are not logged in.

#1 2021-07-15 18:30:04

Ghost109
New Member
Registered: 2021-07-15
Posts: 1

get distance between two addresses

Hello !

I would like to know (with php) the distance in kilometer between two addresses with a car.
Is there an api available for this?

Offline

#2 2021-07-15 20:28:33

Jan Olieslagers
Member
From: B-3150
Registered: 2019-09-15
Posts: 221

Re: get distance between two addresses

That requires a routing engine. There are several, and some have an api too. graphhopper.com is one, basing upon osm, but I cannot promise it will meet your requirements.

Offline

#3 2021-07-20 14:27:38

stephan75
Member
Registered: 2008-05-28
Posts: 2,882

Re: get distance between two addresses

see https://wiki.openstreetmap.org/wiki/Routing for more routing engines based on OSM data.

Offline

Board footer

Powered by FluxBB