OSRM Distance Matrix Generator
Paste one latitude,longitude coordinate per line. Input order is preserved as G1, G2, G3… The public OSRM demo server is best suited to modest jobs; use an OSRM server you operate for large matrices.
Add to Existing Matrix
To expand a matrix, select all three files from a previous download. Existing distances are copied without recalculating them; only distances involving unique new GPS points are requested.
The endpoint must end in /table/v1/driving (or another OSRM profile). Requests are split into 45 × 45 source/destination blocks.
Update the matrix with Google
This does not replace the OSRM generator. Upload an existing matrix, mapping and metadata, then Google is requested only for GPS pairs that are not already recorded in the Google progress file. The updated distances are written back into the same Uint16 matrix format.
Use a restricted browser key. Enable Maps JavaScript API and Routes API, and restrict the key to your Panorra website. Do not use an unrestricted server/web-service key in this page.
On the first Google run, leave this empty and the page will ask for all not-yet-covered pairs. After a run, download the Google Progress Info file and keep it with the matrix. Upload it on the next run/month so completed Google pairs are skipped.
Google Maps Platform route-matrix data is used only to update the road-distance matrix. Google attribution requirements apply where Google route results are displayed.