Matrix - EU cities - return Null


#1

Hello there,
First, I appreciate work behind this running services, great job.
I’m experiencing one issue, I trying to Get matrix for 5 points, located in Slovakia, and I’m always getting null for everything.

Question:
1.Could be that service is limited for some countries ? (due to anything…)
2.Are coords different from GMaps ? (I’v compared with OSM & they are same)

Request:

URL:
https://api.openrouteservice.org/v2/matrix/driving-car

Data
{“locations”:[[48.721351,21.240675],[48.7158477,21.2310844],[48.9964611,21.2515839],[48.102202,21.478229],[48.102202,21.478229]],“metrics”:[“distance”,“duration”],“units”:“km”}

Getting:
Null for distances and duration.

Thank you for response


#2

Try [lon, lat], not [lat, lon], common mistake;)


#3

#4

#5

:man_facepalming:
I completely overlooked this :confused:

Thank you very much for hint.

Case closed