Skip to content
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

Route not showing #147

Open
NathanFumerola opened this issue Oct 17, 2021 · 2 comments
Open

Route not showing #147

NathanFumerola opened this issue Oct 17, 2021 · 2 comments

Comments

@NathanFumerola
Copy link

I have a gps one for this and when taking a job it doesnt show the route in ats

@KS-HTK
Copy link

KS-HTK commented Apr 17, 2022

Hey, if you are using mike-koch/ets2-mobile-route-advisor this is not an issue. It is a limitation of the mra(mobile-route-advisor).
While the telemetry server gives data about current location and job, it does not supply any information about the route the game tells you to take.

Furthermore the mra only places an arrow and loads the map at that location, it is not capable of drawing a route onto the map. The map is based on tiles (small image files).
For more information about raster tiles and vector tiles this article gives a good overview.
As I understand maps and mapping, raster data maps do not give information about the route, all tiles are per calculated images and are shown based on a xy location in the raster.
To be able to draw the route the map itself would need to be either vector data tiles or a map service. Those could then be used by frameworks like leaflet to display the map an a route.

If you want to take the time to work on this issue, I would suggest starting with a way of getting vector tiles of the game map. dariowouters/ts-map seems to be a software capable of generating raster tile maps of the game by extracting the information out of the game files. Maybe that software could be expanded so it is capable of generating vector tile maps.

TL;DR: This is not a issue of the ets2-telemetry-server and it is not a issue of the moblie-route-advisor, rather it is a limitation of the way the mra is implemented due to not having access to the vector data of the game map.

@IgazHarcos
Copy link

It never showed. The necessary data is not in the API to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants