Routing error: Number of elements in hints size 1 does not match coordinate size 2
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 598
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
I have the Maps app installed in my Nextcloud instance, and have set the OSRM URLs in Advanced Settings to https://router.project-osrm.org/route/v1 to test routing functionality. Every time I try to plan a route by entering the source and destination addresses and pressing Enter, it shows this error:
Routing error: Number of elements in hints size 1 does not match coordinate size 2
Adding a third destination changes the error to:
Routing error: Number of elements in hints size 1 does not match coordinate size 3
This could be a configuration issue but I can't find much documentation about how to get routing working in Nextcloud Maps and I can't see any other relevant settings to play with.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing route planning with the reported OSRM URL, using two and then three destinations, and inspect the routing request and returned error. Done means routing succeeds for multiple destinations or the configuration requirements and failure cause are documented clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100