Replies: 1 comment
-
I don't know how the origin for the car position data is chosen. Maybe it doesn't even have any particular meaning and F1 simply chooses whatever is convenient. I'm pretty sure you won't find GPS coordinates for the origin of the car position. In the end, this is just some internal thing on the F1 API. I fear that you'll need to figure those out manually for each track. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am attempting to convert a car’s position throughout a lap to a GPX file, in order to overlay car position on a satellite map. See an attempt below.
Currently, I convert the X and Y position data to decimal latitude and longitude and add them to the GPS coordinates of the relevant track provided by an ergast call.
However, it appears the origin provided by ergast and the origin used for the car’s position are different. You can see in the image below the trace is offset slightly southwest from the track.
Is there a way, or an alternative source (other than ergast), to get the GPS coordinates representing the origin of the car’s position data to more accurately overlay the car’s path to the track?
Circuit of the Americas, 2022 Qualifying, SAI’s fastest lap.
Beta Was this translation helpful? Give feedback.
All reactions