3

So I am trying use the OpenRouteService plugin in QGIS to calculate the drive times and distances between two sets of points. However the size of my file exceeds the allowed data usage of the OpenRouteService API. When I went on to OpenRouteService's forum another user recommended that I run an instance of OpenRouteService in Docker, as there are no limits on data usage with this approach. I was curious if anyone know if it is possible to link an instance in Docker back to QGIS as I am far more familiar with the QGIS interface than Docker?

1 Answer 1

2

You don't need to link QGIS to Docker. You need the 'Open Route Service plugin' to use the API exposed by the dedicated instance you deploy with Docker.

'Open Route Service plugin' allows you to select the ORS provider (other than the default ORS API), so it will be straightforward on that front.

This is described in their documentation

enter image description here

What you have to do is follow the instructions to run the ORS service in a Docker instance, which will expose an URL to call the ORS API.

In case of a deployment on your local machine it will look like localhost:8080/ors/, or any other port than 8080 that you might specify on the Docker setup.

3
  • Ref.: gis.stackexchange.com/questions/397837/…
    – Taras
    Commented Jan 3, 2023 at 8:13
  • So have done everything mentioned here but I keep getting the error message “Route from DI_531 to DI_531 caused a ApiError: 404 ({“error”:{“code”:2010,“message”:“Could not find routable point within a radius of 350.0 meters of specified coordinate 0: -122.6305540 47.5934740.”},“info”:{“engine”:{“version”:“6.8.0”,“build_date”:“2023-01-07T20:56:46Z”},“timestamp”:1673140948884}})”. It appears as though the latitude and longitude values are getting mixed up.
    – Ian Moffit
    Commented Jan 10, 2023 at 20:23
  • The good thing is that you have an ORS instance runnin locally now . I think one good next step might be the ORS forum : ask.openrouteservice.org/c/sdks/10. In the ORS getting started there is probably a sample query to test from (without going through the plugin & qgis geometries)?
    – Kasper
    Commented Jan 10, 2023 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.