No route data near Boston, MA, USA?

Hi all,

I’m exploring the matrix distance API for the first time, and I seem to be getting null results for locations around my area (Boston, MA).

For example, this query searches for the walking distance between two nearby grocery stores:

http POST https://api.openrouteservice.org/v2/matrix/foot-walking Authorization:<snip> locations:='[[42.39064790215245,-71.11769823860028],[42.38142375031734,-71.10160498389605]]'

That request body looks like this:

{ "locations": [[42.39064790215245,-71.11769823860028],[42.38142375031734,-71.10160498389605]] }

And the results matrix:

    "destinations": [
        null,
        null
    ],
    "durations": [
        [
            null,
            null
        ],
        [
            null,
            null
        ]
    ]

Is there perhaps no data available in this area? Or, could something else explain the null results?

Thank you!

Ah ha, the locations are to be given as [LONGITUDE, LATITUDE], not [LATITUDE, LONGITUDE]. My mistake! Everything is working well.

1 Like