About the openrouteservice category


#1

The place for all your openrouteservice enquiries. If you are having issues getting something to work or not sure how to get something out of the API, then here is a good place to start.

Before asking a question, please do a quick search to make sure that it hasn’t been asked and answered before by someone else.


#2

Hello openrouteservice team.

  1. I was using the openrouteservice distance matrix and it has disappeared from the dashboard. Has it gone forever?

  2. I have tried using the /v2/matrix/{profile} Post Matrix service instead but it keeps returning the error:

- { - "error": { "message": "Could not write JSON: (was java.lang.ArrayIndexOutOfBoundsException); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.ArrayIndexOutOfBoundsException) (through reference chain: heigit.ors.api.responses.matrix.JSONMatrixResponseObjects.JSONMatrixResponse["matrix"])" }, - "info": { - "engine": { "version": "5.0", "build_date": "2019-02-28T09:09:39Z" }, "timestamp": 1553495414646 } }

Please would you help me get up and running again

Kind regards

Gillian


#3
  1. Not sure what you mean. Matrix is still active of course.
  2. Can you post your URL and request body? You don’t have to use the POST endpoint, you can still request the exact same way as before (with the old URL and POST body).

#4

Sorry Nils I meant the API playground not the Dashboard. There is no option for the GET matrix.

Kind regards

Gillian


#5

Sorry, I meant you can still use the old endpoint. Which offers GET and POST. Look for the small API version dropdown in the lower left and change to V1.


#6

Many thanks…up and running again
Kind regards

Gillian