This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Distance matrix api and plot location

0

Hi there, I am trying to find a way to map 100 addresses on the openstreetmap. I have list of 100 addresses on excel file and i want to locate them on openstreetmap. Is there API to get this done?

Apart from this I want to calculate driving distance between each of these locations and create a distance matrix of 100X100.

Please advise me how this could be achieved?

hanks, Ashnav

asked 16 Jul '15, 00:26

Ashnav's gravatar image

Ashnav
11223
accept rate: 0%


2 Answers:

3

Please do not ask two questions in one.

You can use umap: umap.openstreetmap.fr for your first task. You will need to geocode the addresses first if they do not already have coordinate associated with them. You can do the later with nominatim see: https://wiki.openstreetmap.org/wiki/Nominatim

OSRM has support for generating distance matrices see http://project-osrm.org/ and https://github.com/Project-OSRM/osrm-backend/wiki/Server-api

Note: if you are using the public servers providing the above (instead of running them yourselve) you MUST conform to the respective acceptable use policies: https://wiki.openstreetmap.org/wiki/Acceptable_Use_Policy and https://github.com/Project-OSRM/osrm-backend/wiki/Api-usage-policy

answered 16 Jul '15, 15:02

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 16 Jul '15, 15:03

2

Cannot comment, still the second question was already asked and answered here

answered 23 Jul '15, 10:14

peatar's gravatar image

peatar
3512312
accept rate: 8%

Source code available on GitHub .