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

[Wyscout v2] Fix keeper save coordinates #272

Open
probberechts opened this issue Dec 27, 2023 · 0 comments
Open

[Wyscout v2] Fix keeper save coordinates #272

probberechts opened this issue Dec 27, 2023 · 0 comments

Comments

@probberechts
Copy link
Contributor

The start coordinates of goalkeeper save events should be retrieved from postions[1] and inverted for the keeper's own goal.

{
            "eventId": 9,
            "subEventName": "Save attempt",
            "tags": [
                {
                    "id": 1209
                },
                {
                    "id": 1801
                }
            ],
            "playerId": 3429,
            "positions": [
                {
                    "y": 0,
                    "x": 0
                },
                {
                    "y": 43,
                    "x": 11
                }
            ],
            "matchId": 2058007,
            "eventName": "Save attempt",
            "teamId": 5629,
            "matchPeriod": "1H",
            "eventSec": 1834.504524,
            "subEventId": 91,
            "id": 261446311
        }
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

1 participant