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.
![image](https://private-user-images.githubusercontent.com/5466161/261104677-a8fe5a84-39d8-49c3-b8de-7f62a381ee0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQyNTMyMzIsIm5iZiI6MTcyNDI1MjkzMiwicGF0aCI6Ii81NDY2MTYxLzI2MTEwNDY3Ny1hOGZlNWE4NC0zOWQ4LTQ5YzMtYjhkZS03ZjYyYTM4MWVlMGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjFUMTUwODUyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTgyYWJlZGQ5M2YwYzc3NzI4ZmJkMjZhMWU2MjNhZDg0OGY1ZTQxZDA3YjBhMzkyYmFkN2VjMDEzMDkzNDc4ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.0D3yvwH9K0YxoU3ObQhfZgN72eo6C36edv7LXfbPv3Q)
Beta Was this translation helpful? Give feedback.
All reactions