-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Mapillary V4 API #113
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Wow, good job @kudlav! I will review it tomorrow :) |
Better than nothing, but the bearing function doesn't work properly. I've tried the best, tried different functions, but no success :( osmapp/src/services/images/getMapillaryImage.ts Lines 7 to 13 in 9c38d85
The steps are:
|
So, I have managed to write some tests for the bearing function, and everything appears to be corect. I will continue with debuging the main function :) |
Hi @kudlav, so i think I have managed to fix the issue. There was only one issue, that you had Also I refactored the code a little, so i could understand it more easily. Right now, i left debugging output in place, because it helps understand which photo is chosen. The rotation of the marker is the compas_angle. Red marker is the closest one. Let me know if you found it working and we can remove this and merge it 🎉 eg. |
Hmm, strange. I have found few examples, where Mapillary returns photos which are out of requested BBOX. Eg.
I would like to know your point of view. Should we fill a bug report? Or maybe i am overlooking sth? //edit: i tried replacing |
So after a week i decided to merge this, we can update the algorithm if we found why is the Mapillary glitch happening. I would like your opinion on that. I thought it would be good to have the debug info in place, so it can be switched on by adding Thanks for the great work! 👍 👍 ❤️ |
I should point to the selected place but it's not reliable. Currently sometimes points to it, but sometimes it shows the opposite direction.
should fix: #97