[WIP] A Slippy Map for ATS
-
- Posts: 24
- Joined: 21 Feb 2023 01:52
- Location: USA
[WIP] A Slippy Map for ATS
I'm trying to build a mobile route advisor for my tablet that supports routing with lane guidance.
It's a lot of work, and it's going to be a long journey. But it's been a fun and interesting one, so far.
As the first step of that journey, I've had to build a slippy map. I figured it might be of interest to the community, just as the ATS IRL Map, Printable Road Atlas of ATS, and ATS Company/Facility Directory projects have been of interest to me.
The Map is definitely far from polished. All the roads have the same width (be it a 6-lane freeway or a 1-way dirt road), which is unfortunate. Road colors can also look a bit off. And icons/labels are finnicky in how they pop in/out while you zoom. But I think it's pretty cool to use / browse, especially when playing with rotation/pitch (try dragging left/right/up/down with the right mouse button).
There's still much to do, but in terms of next steps: I'll take a break from looks/cosmetics, and will leave the styling as-is for now (cartography and information design is hard!). The next thing I want to get into is routing / path finding. And then lane guidance (as long as the work to detect lanes isn't too difficult ).
It's a lot of work, and it's going to be a long journey. But it's been a fun and interesting one, so far.
As the first step of that journey, I've had to build a slippy map. I figured it might be of interest to the community, just as the ATS IRL Map, Printable Road Atlas of ATS, and ATS Company/Facility Directory projects have been of interest to me.
The Map is definitely far from polished. All the roads have the same width (be it a 6-lane freeway or a 1-way dirt road), which is unfortunate. Road colors can also look a bit off. And icons/labels are finnicky in how they pop in/out while you zoom. But I think it's pretty cool to use / browse, especially when playing with rotation/pitch (try dragging left/right/up/down with the right mouse button).
There's still much to do, but in terms of next steps: I'll take a break from looks/cosmetics, and will leave the styling as-is for now (cartography and information design is hard!). The next thing I want to get into is routing / path finding. And then lane guidance (as long as the work to detect lanes isn't too difficult ).
-
- Posts: 4784
- Joined: 26 Sep 2019 20:14
Re: [WIP] A Slippy Map for ATS
So glad to see people working to make old school navigation possible in game!
Re: [WIP] A Slippy Map for ATS
Wow, there it is. Very impressive!
For driving without GPS navigation: ATS Company/Facility Directory — C/FD
- explosion65
- Posts: 161
- Joined: 27 Jun 2018 16:45
- Location: New Jersey, USA
Re: [WIP] A Slippy Map for ATS
This is so cool! Great work!
Re: [WIP] A Slippy Map for ATS
Really really really cool work, truckermudgeon!
Check out my Michigan research map!
Check out my ATS IRL map! -> Leave any feedback in my thread!
Kansas added! Up-to-date blog photo locations for upcoming states also included.
Check out my ATS IRL map! -> Leave any feedback in my thread!
Kansas added! Up-to-date blog photo locations for upcoming states also included.
Re: [WIP] A Slippy Map for ATS
In a recent conversation, you mentioned the notion of adding some sort of layer selection panel, allowing users to choose to show only services, or only companies etc. I think that'd be pretty useful!
Thinking further about layers: One difference between your map and e.g. Google Maps obviously is that your map only shows spatial data that exists in the ATS map dataset. This means that things like street names or the names of small scenery towns aren't visible. Adding street names here might be difficult for a variety of reasons, but I think that adding the names of scenery towns as a separate layer would be both possible and useful. What do you think?
If you're interested, I might be able to help by gathering and providing town names in a geospatial data format.
Here's how the result might look:
[ external image ]
Thinking further about layers: One difference between your map and e.g. Google Maps obviously is that your map only shows spatial data that exists in the ATS map dataset. This means that things like street names or the names of small scenery towns aren't visible. Adding street names here might be difficult for a variety of reasons, but I think that adding the names of scenery towns as a separate layer would be both possible and useful. What do you think?
If you're interested, I might be able to help by gathering and providing town names in a geospatial data format.
Here's how the result might look:
[ external image ]
For driving without GPS navigation: ATS Company/Facility Directory — C/FD
-
- Posts: 24
- Joined: 21 Feb 2023 01:52
- Location: USA
Re: [WIP] A Slippy Map for ATS
Thanks, all!
I think that's a great idea. I'd love for the data shown in the map to be as rich as possible, so I'm very interested in adding scenery towns to the map. Any help with gathering the data would be very appreciated!
Re: [WIP] A Slippy Map for ATS
Cool. So the easiest way to gather the data seems to be flying around with the dev cam and using F11 to record place names. That would essentially yield an XYZ file with game coordinates looking like this:
For example: Kaycee is at easting = -42104.4 / southing = -29011.4
I could also convert this into a geospatial format for you if you prefer (GeoJSON/Shapefile/...), but I realize now that we would have to discuss SCS's map projection then. We would need to use the same CRS conversion from ATS coords to Web Mercator for things to match up properly. And I suspect the conversion I usually use is not the same as the one you've been using here.
One effect of using F11 in the way described above would be that I can only efficiently record names that I actually see in ATS. So for example, Sweetwater Station (between Lander and Muddy Gap), which exists in the game but is actually unnamed, would not end up in this dataset (which is perhaps even a good thing?). I also won't go to places that would be spoilers for me, so either way, the dataset is going to be incomplete. Still, it's a good start I suppose.
Code: Select all
Shoshoni ;[26/03/2023 09:20:27] (sec-0013-0008);-49039.2;130.625;-28862.8;2.62012;-0.545163
Hiland ;[26/03/2023 09:21:33] (sec-0012-0007);-47415.2;167.875;-27015.6;2.50494;-1.52429
Powder River ;[26/03/2023 09:22:25] (sec-0012-0007);-44652.5;125.205;-25968;1.79075;-0.706406
Kaycee ;[26/03/2023 09:23:33] (sec-0011-0008);-42104.4;116.817;-29011.4;0.898502;-0.314748
I could also convert this into a geospatial format for you if you prefer (GeoJSON/Shapefile/...), but I realize now that we would have to discuss SCS's map projection then. We would need to use the same CRS conversion from ATS coords to Web Mercator for things to match up properly. And I suspect the conversion I usually use is not the same as the one you've been using here.
One effect of using F11 in the way described above would be that I can only efficiently record names that I actually see in ATS. So for example, Sweetwater Station (between Lander and Muddy Gap), which exists in the game but is actually unnamed, would not end up in this dataset (which is perhaps even a good thing?). I also won't go to places that would be spoilers for me, so either way, the dataset is going to be incomplete. Still, it's a good start I suppose.
For driving without GPS navigation: ATS Company/Facility Directory — C/FD
-
- Posts: 24
- Joined: 21 Feb 2023 01:52
- Location: USA
Re: [WIP] A Slippy Map for ATS
A semicolon-delimited file with game coordinates like in your code snippet SGTM.
Yep, I think that's fine. This project is a (perpetual) WIP, after allnautofon wrote: ↑27 Mar 2023 02:11 ...I can only efficiently record names that I actually see in ATS. So for example, Sweetwater Station (between Lander and Muddy Gap), which exists in the game but is actually unnamed, would not end up in this dataset (which is perhaps even a good thing?). I also won't go to places that would be spoilers for me, so either way, the dataset is going to be incomplete. Still, it's a good start I suppose.
Re: [WIP] A Slippy Map for ATS
Started out with Wyoming, will get onto Colorado next. Will you subscribe to activity notifications there, or would you prefer I announce future updates here in this thread?
For driving without GPS navigation: ATS Company/Facility Directory — C/FD
Who is online
Users browsing this forum: Carfreak200 and 4 guests