Distance between 2 cities (vehicle)

Anthelm Posted messages 202 Status Member -  
Anthelm Posted messages 202 Status Member -
Hello,

My company does deliveries where the price depends on the distance. We have 3 storage sites.
For a delivery to a construction site located between 2 sites, it is useful to check on Mappy to see where to dispatch the goods from.

I would like to be able to input an address and output the best route, or return the distances in km from each site to 3 cells.

Is it necessary to have a Mappy API, Google Maps, or other for this result?

I do not wish to display a map, but only to obtain the values (km, travel time, CO2 or fuel consumed, between the target and each of the 3 departure sites)

And what do you think of OpenStreetMap? If given a choice, I would prefer open-source....

Thank you very much!

Configuration: Windows / Firefox 100.0

1 answer

  1. Anthelm Posted messages 202 Status Member 1
     
    I found a code that queries the website distance2villes.com and returns the results in km to cells. Exactly what I wanted.

    It works well, but their map isn't great and I have a lot of false results... I would like to find a way to use Waze, Mappy, or another service...
    0