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

SPAT Timestamp - Latest #89

Merged
merged 12 commits into from
May 31, 2024
Merged

SPAT Timestamp - Latest #89

merged 12 commits into from
May 31, 2024

Conversation

jacob6838
Copy link
Collaborator

This PR adds the latest query param to the /spat/json endpoint, and incorporates it into the GUI. The changes are as follows:

  • API - added latest query params to /spat/json, which grabs the latest SPAT message
  • API - added compact query params to /spat/json, which reduces the size of SPAT data in responses by eliminating "duplicate" messages
  • GUI - When map is loaded without context (no notification/timestamp), it retrieves the latest SPAT data timestamp through /spat/json?latest=true, and re-renders the map with that timestamp

Note: The compact functionality is not yet integrated into the GUI, this is not yet supported. This will be completed in a future PR.

@jacob6838 jacob6838 requested a review from John-Wiens May 29, 2024 19:32
@jacob6838
Copy link
Collaborator Author

The map will now auto-select the latest SPAT message and re-render with that timestamp:
image

@John-Wiens
Copy link
Collaborator

Compaction doesn't provide SPaT deduplication. Currently is just removes the validation messages field. Since this field is very verbose, this reduces the required bandwidth for transmitting SPaT messages considerably.

@John-Wiens John-Wiens merged commit e4a1470 into develop May 31, 2024
3 checks passed
@John-Wiens John-Wiens deleted the spat-timestamp-fix branch May 31, 2024 21:04
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

Successfully merging this pull request may close these issues.

2 participants