Hi openrouteservice team and community,
I’d like to ask about the availability (and roadmap) of preference: "shortest" for the Matrix V2 endpoint.
Context
I often need one‑to‑many and many‑to‑one matrices that use the same “shortest” routing logic already available in Directions V2 (as opposed to the default/recommended weighting). With Directions, we can set preference: "shortest" and get the expected behavior for single routes; we’re looking for parity on the Matrix endpoint.
Questions
-
Is
preference: "shortest"currently supported in Matrix V2 (or any equivalent — e.g., a parameter, profile setting, or custom model — that guarantees shortest‑path weighting for the matrix computation)? -
If not, is Matrix support for “shortest” on the roadmap? Any indicative timeline/version would help our planning.
-
Is there a recommended workaround meanwhile to emulate “shortest” in Matrix (e.g., via configuration, custom models, or other API options)?
Thanks in advance for your guidance, and thanks for all your work on openrouteservice!
Kind regards,
Joao Martins